Community
Participate
Working Groups
I found that EMF FeatureMap are not supported very well in the GMF runtime, especially the ExtendedMetadata. One example is in MSLUtil.destroy(MSLEditingDomain, EObject, int) line: 217: if (reference.isMany()) ((Collection) container.eGet(reference)).remove(eObject); else container.eSet(reference, null); I have an XSD based model and an extesion to it where I use substitution groups. The reference instance (container.eGet(reference)) that hits this fragment is a FeatureMapUtil$FeatureEList, the reference multiplicity is -2 (unspecified) and that will go on the container.eSet(reference, null) path which is wrong. You will need to check somethig similar to what you see in the FeatureMapUtil.isMany(). FeatureMapUtil.isMany() returns true for my feature which is correct.
I'm looking for a test case for the fix to the bug. Is it possible for you to provide an example attached to this bugzilla?
This one is related to Bugzilla 129178 that has been fixed. The MSLUtil has been swept to use the FeatureMapUtil functionality
[target cleanup] 1.0 M6 was the original target milestone for this bug
As of TPTP 4.6.0, TPTP is in maintenance mode and focusing on improving quality by resolving relevant enhancements/defects and increasing test coverage through test creation, automation, Build Verification Tests (BVTs), and expanded run-time execution. As part of the TPTP Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes), this enhancement/defect is verified/closed by the Project Lead since this originator of this enhancement/defect has an inactive Bugzilla account and considered to be fixed. If this enhancement/defect is still unresolved and reproducible in the latest TPTP release (http://www.eclipse.org/tptp/home/downloads/), please re-open.
This enhancement/defect was mistaken closed as part of the TPTP 4.6 Bugzilla housecleaning process (see http://wiki.eclipse.org/Bugzilla_Housecleaning_Processes) since the originator of this enhancement/defect has an inactive Bugzilla account. If this enhancement/defect is still unresolved and reproducible, please re-open.
[GMF Restructure] Bug 319140 : product GMF and component Runtime EMF was the original product and component for this bug