hahaking119 / vienna-add-in

Automatically exported from code.google.com/p/vienna-add-in
0 stars 0 forks source link

ABIE generator throws exception #60

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open attached model
2. Go to the BIELibrary - choose create new ABIE
3. Choose the only existing CCLibrary as source
4. Choose the ACC Order
5. Choose all BCCs
6. Go to the assocations tab
6. Choose all ASCC assocations
7. Attached stacktracke is thrown

Please fix ASAP since we need the functionality for tomorrow's workshop. thx

************** Ausnahmetext **************
System.Collections.Generic.KeyNotFoundException: Der angegebene Schlüssel
war nicht im Wörterbuch angegeben.
   bei System.ThrowHelper.ThrowKeyNotFoundException()
   bei System.Collections.Generic.Dictionary`2.get_Item(TKey key)
   bei VIENNAAddIn.upcc3.Wizards.ABIEWizardForm.buttonGenerate_Click(Object
sender, EventArgs e) in
C:\VIENNAAddIn\VIENNAAddIn\upcc3\Wizards\ABIEWizardForm.cs:Zeile 670.
   bei System.Windows.Forms.Control.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnClick(EventArgs e)
   bei System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
   bei System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons
button, Int32 clicks)
   bei System.Windows.Forms.Control.WndProc(Message& m)
   bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
   bei System.Windows.Forms.Button.WndProc(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg,
IntPtr wparam, IntPtr lparam)

Original issue reported on code.google.com by philipp....@gmail.com on 22 Apr 2009 at 9:00

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by philipp....@gmail.com on 22 Apr 2009 at 9:00

GoogleCodeExporter commented 9 years ago

Additionally:

If you drag and drop an ABIE into the DOCLibrary and open the generate XSD 
schema
wizard it is not possible to choose a root business document for the schema 
generation.

Original comment by philipp....@gmail.com on 22 Apr 2009 at 9:07

GoogleCodeExporter commented 9 years ago
@Additionally
At the moment we determine the root elements in the DocLibrary as follows:
1) Iterate through all elements which have been created within the package 
DocLibrary
2) Select those ABIEs, who are not contained by any other ABIE. Those elements 
are
presented as potential root elements.
This algorithm does fail if existing ABIEs from BIELibraries are linked to the 
doc
diagram via drag&drop.
Therefore the ABIE representing the document must be currently created in the
DocLibrary in order to act as root element. Otherwise we must include a tagged 
value
for root elements, which is not in conformance with UPCC.

Original comment by michael....@researchstudio.at on 22 Apr 2009 at 10:18

GoogleCodeExporter commented 9 years ago
fixed in r395 and r396

Original comment by pichler....@gmail.com on 22 Apr 2009 at 1:16