Community
Participate
Working Groups
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.
Created attachment 45923 [details] The above mentioned files.
The fix has been committed to CVS.
Fixed in M200607131314.
Move to verified as per bug 206558.