Book a Demo

Author Topic: BUG?: Duplicate attribute GUIDs on import  (Read 5762 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
BUG?: Duplicate attribute GUIDs on import
« on: December 13, 2006, 09:37:37 pm »
I'm pretty sure this is a bug but welcome feedback...

If you import a package that you already have in your model into another location, stripping GUIDs, the GUIDs for attributes don't appear to get stripped.

The intention is to duplicate a hierarchy in another place.  However, if you run a Tools|Data Management|Project Integrity Check [Shift+F9], you get a pile of duplicate GUIDs for the attributes.  Can anyone else confirm this?

TIA,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #1 on: December 14, 2006, 05:07:26 am »
Hi Paolo,

I've just run an export-import round trip of a package with structural diagrams, including interfaces and at least one attribute (I was in a hurry). The project integrity check did not indicate duplicate GUID values. I verified that this check was enabled.

The settings were: EA build 800, XMI 1.3 round trip enabled, diagrams included.

David
No, you can't have it!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #2 on: December 14, 2006, 08:11:48 am »
Quote
Hi Paolo,

I've just run an export-import round trip of a package with structural diagrams, including interfaces and at least one attribute (I was in a hurry). The project integrity check did not indicate duplicate GUID values. I verified that this check was enabled.

The settings were: EA build 800, XMI 1.3 round trip enabled, diagrams included.

David
We're using XMI 2.1...

I'll give it another go tomorrow...

Thanks David.

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #3 on: December 14, 2006, 09:17:59 am »
I repeated the same cycle, after first removing the newly imported package from the last time. That is, I performed the cycle again on the original model, using the same package as before.

This time I had XMI 2.1 selected, with round trip enabled and diagrams included. The cycle went as expected.

Once again, no problems were detected by the Project Integrity Check, with all options checked. That is, all except 2.0 migration of course, which I also checked. No problems detected at all.

HTH, David
No, you can't have it!

VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #4 on: December 14, 2006, 02:25:02 pm »
Hello Paolo,

EA does duplicate the GUID of attributes upon importing them from an XMI 2.1 file. We will have this issue fixed for Build 802.

Cheers.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #5 on: December 14, 2006, 02:40:17 pm »
Quote
Hello Paolo,

EA does duplicate the GUID of attributes upon importing them from an XMI 2.1 file. We will have this issue fixed for Build 802.

Cheers.
Thanks for that, Vimal...  Had me worried my old eyes were deceiving me...   ;)

Paolo

PS: In the meantime, can we assume that following the import we should immediately run the verifier and let it fix the duplicate GUIDs?  Which one of the two does it change - the new one  (good) or the original (very bad) or even indeterminate (worst!)?
« Last Edit: December 14, 2006, 04:09:19 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

VK

  • EA Administrator
  • EA User
  • *****
  • Posts: 50
  • Karma: +0/-0
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #6 on: December 14, 2006, 04:54:26 pm »
Hello Paolo,

The Integrity Check module will change the GUIDs of the  new attributes only. So, you can safely run the Integrity Checker.
And, I have updated Build 801 (not Build 802 as I had specified earlier) with the fix - it will be coming out in a couple of days time.

Cheers.

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: BUG?: Duplicate attribute GUIDs on import
« Reply #7 on: December 15, 2006, 05:34:23 am »
I wonder why I did not see this with 800. Perhaps the sample I used was too small...
No, you can't have it!