Author Topic: Strip guids unchecked - connections dropped?  (Read 3006 times)

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Strip guids unchecked - connections dropped?
« 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.
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Strip guids unchecked - connections dropped?
« Reply #1 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.

AndyJ

  • EA User
  • **
  • Posts: 337
  • Karma: +5/-3
  • It's only a model
    • View Profile
Re: Strip guids unchecked - connections dropped?
« Reply #2 on: November 20, 2014, 02:58:18 pm »
querty,

I read the above as strip GUID is NOT selected.

Andy
Sun Tzu: "If you sit by the river long enough, eventually the body of MS Visio floats past."

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +396/-301
  • I'm no guru at all
    • View Profile
Re: Strip guids unchecked - connections dropped?
« Reply #3 on: November 20, 2014, 08:59:11 pm »
Uh - I missed the "un" :-[

q.