Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: sacripantina on April 05, 2018, 04:03:26 am

Title: Problems with XMI import from old Rational Rose models
Post by: sacripantina on April 05, 2018, 04:03:26 am
Hi,

I am trying to import some old Rational Rose models, saved as XMI, but I encounter various problems. I use EA 13.5 on a Mac via Crossover version 17.1.

One of the models was saved into XMI by my post-doc using an old Rational Rose version; when I import the XMI into EA, I get the following error message several times, then the import reaches the end apparently successfully:

"The changes you requested to the table were not successful because they would create duplicate values in the index, primary key or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again."

I do not understand what this error message means.

In the log file of the import I also found several "Error: Unknown Transition Source or Target", which follow "Add message", e.g.

Add message
Error: Unknown Transition Source or Target
Add message
Add message
Error: Unknown Transition Source or Target

The imported model is missing some features: all aggregation relationships have disappeared, and most associations are missing.

This attempt to recover these old Rational Rose models is motivated by the creation of a historical archive of a CERN scientific software project, which commemorates the 20th anniversary since its first release this year. I would be very grateful to anybody who could help importing these old models into EA.

Thanks in advance,
Maria Grazia


Title: Re: Problems with XMI import from old Rational Rose models
Post by: qwerty on April 05, 2018, 07:49:23 am
You won't get lucky here. The reason that the aggregations are missing is related to that "duplicate" message. You "could" edit the XMI and look for duplicate GUIDs (using a DOM parser and knowing the XMI structure), but that would probably be poking in the mist. You don't know where those duplicates should have pointed to.

q.