Community
Participate
Working Groups
When you merge a Stereotype Application, the XMI ID is not correctly merged. Tested with source code downloaded here https://github.com/sbouchet/emfcompare Steps to reproduce (using Papyrus to create the UML file): 1/ Create a model with a class for example 2/ Copy your file 3/ Apply a stereotype on the class 4/ Compare the 2 files : one have a stereotype application and not the other 5/ Merge the stereotype application. Save the file, and compare them into text mode : the XMI id for the stereotype application has not been correctly duplicated
Created attachment 199344 [details] An example to reproduce the bug (created with Papyrus) To reproduce the bug, compare the 2 uml files. (1) I, Vincent Lorenzo, wrote 100% of the code I've provided. (2) This code contains no cryptography (3) I have the right to contribute the code to Eclipse. (4) I contribute the content under the EPL.
Vincent, Thanks for the example models, I could reproduce really easily with those. This has now been fixed on master. I'll try and get a nightly build later so that you can verify the correction.
Hi Laurent, thank you for the correction. Do you have an update site for the nightly build?
Vincent, I am struggling a little with the build right now, one is running at the moment, I hope it will be the good one.
The nightly is (at last!) ready, you can grab it from the update site http://download.eclipse.org/modeling/emf/compare/updates/nightly/1.2
Hi Laurent, I confirm its works fine with your nightly build. Thank you for the correction.
Thanks for the feedback :)