Bug 149985

Summary: The "redefined" property doesn't work very well at various level.
Product: [Modeling] MDT.UML2 Reporter: FabioC <fabio.centineo>
Component: CoreAssignee: Kenn Hussey <Kenn.Hussey>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.0   
Target Milestone: 2.0.1   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
The above mentioned files. none

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.