Sparx Systems Forum

Discussion => Bugs and Issues => Topic started by: rxcolvin on December 01, 2017, 03:24:27 am

Title: XMI Merge: Root Package in XML does not match the selected package in the model
Post by: rxcolvin on December 01, 2017, 03:24:27 am
If I export a package in XMI and then merge - using the "Direct" option -   the same XMI into the same place in the model it gives and error.

I get the same problem if try the merge from the parent of the original package.

(IN this simple case there are no changes to merge of course, but that is not the issue because it should still nominally work and adding changes makes no difference, in fact? )

Any ideas what this error is trying to tell me, because?

thx.
Title: Re: XMI Merge: Root Package in XML does not match the selected package in the model
Post by: Simon M on December 01, 2017, 08:16:10 am
Enterprise Architect believes you are trying to compare two unrelated packages because the unique id (guid) for the top level package in the XMI and the package you have selected are different.
Title: Re: XMI Merge: Root Package in XML does not match the selected package in the model
Post by: rxcolvin on December 05, 2017, 04:26:55 am
 I've just exported a package in a project and then just tried to re-import the generated XMI into the same place in the original project, so the GUIDs are all the same.

I've also noticed that I get the same error if ones tries an import with merge, when the merge file happens to  contains no differences. Perhaps these are related, in which case I suspect this is a bug.