Book a Demo

Author Topic: Problem with "Compare Model"  (Read 2182 times)

floerio

  • EA User
  • **
  • Posts: 44
  • Karma: +0/-0
    • View Profile
Problem with "Compare Model"
« on: October 08, 2008, 04:10:49 am »
Hi!

I have an issue with the Compare Model function (EA 7.1.828):

1) I created a model ("src"). Within this model, I created a data type "dt1" (as a class) and associated this data type for a class attribute.

2) I copied the model ("cpy").

3) In "src" I created another data type ("dt2") and changed the data type of the attribute from dt1 to this new type.

4) I exported "src" to XMI

5) I started "cpy" and via "Manage Baseline" compared "cpy" to the XMI of "src".

Expectation: For the attribute I see the change in the name of the data type from dt1 to dt2. And, after merging is finished, the attribute points to this new data type.

But no: Only the name is displayed as changed, the data type linked to remains the one before the merge (dt1).

I checked the XMI file: I think the xml attribute responsible to link an attribute to a data type is "xmi.idref". This points in "src" correctly to dt2 and in "cpy" (after doing an export) to dt1.

So can it be that the compare tool misses to do a compare & merge on this attribute "xmi.idref"? Or is there a setting that must be used to activate a compare on it?

Regards,
   Oliver