Community
Participate
Working Groups
Created attachment 205478 [details] Models and sreenchot of the problem There is a duplication of model root in the diff view when trying to compare the models in attachment. Nothing appear in the "Error Log" view. I have put as attachment models to reproduce and a screenshot of the problem. Regards,
Created attachment 206142 [details] Fix I have just fixed this issue. The model root was duplicated because the add of the stereotype application (out of the root of the UML model) has created a difference on the same level than the DiffModel whereas this one should be located under the DiffGroup related to the element on which it applies. Besides, this difference should be hidden by the add of the UML stereotyped element. This last behavior had been fixed on 351593 (by the way, see the comment 18). But, in the fix, I forgot to request, from the deleted or added UML element, the stereotype applications on itself. I was looking for only the embedded UML elements. For the location of the hidden difference (related to stereotype application), I modified the method AbstractDiffExtensionFactory.findOrCreateDiffGroup() to correctly locate the difference under the right DiffGroup.
Thanks Cedric, patch applied on master.
Arthur, a build containing this fix is available from http://download.eclipse.org/modeling/emf/compare/updates/nightly/1.3 (build ID : N201111030432). Could you verify that this fixes the issue on your side?
Working perfectly fine. Thanks for your help.
batch-closing a bunch of "RESOLVED" bugs.