Book a Demo

Author Topic: v15.2 - [X] Strip GUIDs (for packages which contain ONLY diagrams)  (Read 8629 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
In a separate thread (v15.2 - Missing Diagram Links - Package Import) I discuss a potential issue we've found with arcs not being transferred via an XML package Export/Import.

I am familiar with the use of the [X] Strip GUIDs function in normal export/import processes.  If the checkbox is marked, EA will assign New GUIDs to those items (Vertices, Arcs and Diagrams) that are identified by GUID.  I am investigating what's happening with a special branch that (in this case) contains ONLY Diagrams (View in Viewpoints).  None of the items in the diagrams in the branch are located in the branch!

So, do I understand correctly that if I export such a branch and import to a target repository with  [X] Strip GUIDs marked, the ONLY items which will get new GUIDs are the Diagrams?  ALL other references (items on diagrams) should be to any existing items in the target repository.

Paolo

[Edit:  I forgot!  Any diagram-owned objects will also get a new GUID.]
« Last Edit: January 07, 2021, 10:45:02 pm by Paolo F Cantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: v15.2 - [X] Strip GUIDs (for packages which contain ONLY diagrams)
« Reply #1 on: January 07, 2021, 08:03:47 pm »
I think so, though it appears weird to export diagram-only packages (there's probably a use case...). I noticed for a similar case (create package via wizard which is basically import with strip GUIDs) that classifiers are kept. That is, elements being imported keep the classifier being located in some global branch.

q.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: v15.2 - [X] Strip GUIDs (for packages which contain ONLY diagrams)
« Reply #2 on: January 07, 2021, 10:44:48 pm »
I think so, though it appears weird to export diagram-only packages (there's probably a use case...). I noticed for a similar case (create package via a wizard which is basically imported with strip GUIDs) that classifiers are kept. That is, elements being imported keep the classifier being located in some global branch.

q.
It's not weird if you have separated the Views & Viewpoints from the Model Items.  Remember, part of this use case is the separate transport of the Model Items referenced in the diagrams.  The Strip GUIDs was merely to create a test clone to allow further testing - the results of which I'll report in the original thread (about missing links)
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!