Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 326746

Summary: Further incorrect use of EMF bidirectional references in UML metamodel
Product: [Modeling] MDT.UML2 Reporter: Volker Stolz <stolz+bugzilla>
Component: CoreAssignee: UML2 Inbox <mdt-uml2-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: major    
Priority: P3 CC: Kenn.Hussey
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=320318
Whiteboard:

Description Volker Stolz CLA 2010-10-01 04:37:06 EDT
Build Identifier: M20100909-0800

As a followup to #320318, there is at least one more instance of this problem present in Helios SR1:
Operations within an Interface trigger a similar validation error as reported before.

The opposite features 'feature' of
'org.eclipse.uml2.uml.internal.impl.InterfaceImpl@3aff8399{..}'
and 'featuringClassifier' of 'org.eclipse.uml2.uml.internal.impl.OperationImpl@7852fda6{..}' do not refer to each other

Reproducible: Always

Steps to Reproduce:
1. Create a UML class diagram with an interface containing an operation
2. Run model validation
Comment 1 Volker Stolz CLA 2010-10-01 05:56:04 EDT
For future reference, the item in question here is CLASSIFIER__FEATURE.

Kenn, is there any way of classifying which EReferences are problematic in general?
Comment 2 Kenn Hussey CLA 2010-10-01 09:03:19 EDT
I believe the problem only exists for bidirectional features which are derived unions.

*** This bug has been marked as a duplicate of bug 323000 ***
Comment 3 Volker Stolz CLA 2010-10-04 05:33:58 EDT
Kenn, did you intend to mark this bug as resolved already? It describes a problem in Helios SR1, and I didn't notice any commit to the respective code yet.
Comment 4 Kenn Hussey CLA 2010-10-04 09:08:03 EDT
(In reply to comment #3)
> Kenn, did you intend to mark this bug as resolved already? It describes a
> problem in Helios SR1, and I didn't notice any commit to the respective code
> yet.

It's a duplicate of bug 323000 which will be resolved in the Indigo timeframe.
Comment 5 Kenn Hussey CLA 2011-05-31 10:33:26 EDT
Closing for Indigo release.
Comment 6 Kenn Hussey CLA 2011-05-31 10:34:09 EDT
Closing for Indigo release.