Community
Participate
Working Groups
In our current metamodel an element DMNElement has an attribute "anyAttribute" of type "EFeatureMapEntry" if bounds [0..*] We use this attribute to store additional information like (editable=true). The setting we modeled as EReference with Type boolean. Then we now try to compare to metemodel instances like: <dmn:element name="Test"> WITH <dmn:element name="Test" xxx:editable="false"> THEN FeatureMapChangeMerger#removeFeatureMapValueFromTarget throws exception. It tries to cast value of type boolean to EObject
New Gerrit change created: https://git.eclipse.org/r/128816
This change should fix this particular ClassCastException but there is no guarantee that no other exception can happen with non eobject feature maps since this hasn't been extensively tested. Would you be able to provide a unit test trying to replay your comparison?
Ok, I will provide you a test
Gerrit change https://git.eclipse.org/r/128816 was merged to [master]. Commit: http://git.eclipse.org/c/emfcompare/org.eclipse.emf.compare.git/commit/?id=b536252a11f98084188c8a8a9f4f6174b195d99f