Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: Dave_Bullet on November 19, 2014, 07:51:55 am

Title: Strip guids unchecked - connections dropped?
Post by: Dave_Bullet on November 19, 2014, 07:51:55 am
Hi there,

Are connections to existing elements meant to be dropped, when importing an XMI and "strip guids" is unchecked?  I thought the purpose of this was to share elements across disparate repositories and periodically refresh the elements - without duplicating them nor dropping connections.

Example:
1. Create a node "my catalogue node" in repository A
2. Export repository A (including "my catalogue node")
3. Import repository A into repository B (import XMI - strip guids unchecked)
4. Create a new node in repository B called "my B node"
5. Create a diagram in repository B and add both "my catalogue node" and "my node B" to the same diagram
6. Create a association between both nodes.  Save and close the diagram
7. Update the "my catalogue node" in repository A (eg. change name / description)
8. Repeat steps 2. and 3. above
9. Re-open the diagram - you'll notice the catalogue node has successfully update(and still on the diagram) - but the association has been dropped..

Allowing connections to be maintained to "refreshed" elements on import would allow an external catalogue to be maintained and synchronised to other repositories.
Title: Re: Strip guids unchecked - connections dropped?
Post by: qwerty on November 19, 2014, 09:35:24 pm
Yes, for sure. The guids are the anchors to identify the loose ends of the connectors. If you strip them you will not be able to connect them.

Only if the import contains both ends the connection will be preserved as EA knows the old guids and can create the connection.

q.
Title: Re: Strip guids unchecked - connections dropped?
Post by: AndyJ on November 20, 2014, 02:58:18 pm
querty,

I read the above as strip GUID is NOT selected.

Andy
Title: Re: Strip guids unchecked - connections dropped?
Post by: qwerty on November 20, 2014, 08:59:11 pm
Uh - I missed the "un" :-[

q.