Bug 149985 - The "redefined" property doesn't work very well at various level.
Summary: The "redefined" property doesn't work very well at various level.
Status: VERIFIED FIXED
Alias: None
Product: MDT.UML2
Classification: Modeling
Component: Core (show other bugs)
Version: 2.0.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.0.1   Edit
Assignee: Kenn Hussey CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-07 10:42 EDT by FabioC CLA
Modified: 2008-01-28 16:36 EST (History)
0 users

See Also:


Attachments
The above mentioned files. (11.47 KB, application/octet-stream)
2006-07-07 10:48 EDT, FabioC CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description FabioC CLA 2006-07-07 10:42:25 EDT
In the attachment a file .uml2 that contains the hierarchy with which is possible to test the "redefined" property, class diagrams of this hierarchy, and the exception that is thrown. In the following a short description of the problem.
After I create the .ecore and .genmodel of the above meta-model, I generate the source code (model, edit and editor) in order to test the meta-model with EMF. So, I launch my project as a runtime Eclipse Application and thus I create an instance of my model after having choosen the root element.
If this root element is an instance of C (please, see my UML model in the 
attachment), the diagram is not created and an exception is thrown (please, 
see this exception in the attachment). If I select as root element an instance of D, it is created correctly but then, if I select it, the same exception is still thrown. 
I understood that the problem is in the redefined properties 
"contributor" and "beneficiary" of the C class. The reason is 
the "redefineed". If I use the "subset" instead, the exception not happens.
Comment 1 FabioC CLA 2006-07-07 10:48:14 EDT
Created attachment 45923 [details]
The above mentioned files.
Comment 2 Kenn Hussey CLA 2006-07-11 13:44:26 EDT
The fix has been committed to CVS.
Comment 3 Kenn Hussey CLA 2006-07-13 14:08:11 EDT
Fixed in M200607131314.
Comment 4 Nick Boldt CLA 2008-01-28 16:36:01 EST
Move to verified as per bug 206558.