Book a Demo

Author Topic: Tagged values content lost on XMI import  (Read 3768 times)

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Tagged values content lost on XMI import
« on: August 03, 2007, 04:49:47 am »
Hi,

Another one on the unisys XMI import.
I'm converting my Rational Rose model to EA. In that RR model I had a lot of information in the so-called properties. (like preconditions, purpose etc).
I exported this RR model using the unisys xmi export, and I have imported that into my EA model. That works fine. (as long as you're not working on an Oracle rep; see other post)
The XMI import will nicely create tagged values and copy the content into the "value" field of the tagged value. Unfortunately it will also cut-off the text at 255 chr's without warning! I've had a look into the db-schema and the value field of t_objectproperties is only varchar(255). There is another field (note) that has TEXT (MysQL) datatype, but that is not used.
Another bug report?

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Tagged values content lost on XMI import
« Reply #1 on: August 03, 2007, 06:50:20 am »
Are you using build 815?
No, you can't have it!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tagged values content lost on XMI import
« Reply #2 on: August 03, 2007, 10:09:07 am »
Yes 7.0.815

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: Tagged values content lost on XMI import
« Reply #3 on: August 03, 2007, 11:03:44 am »
Perhaps check the release notes for 815. There's something about some tweaks to specific XMI versions.

Perhaps setting the correct (or avoiding the incorrect) XMI version would help.

Regardless, this needs to be submitted as a bug report.

David
No, you can't have it!

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tagged values content lost on XMI import
« Reply #4 on: August 06, 2007, 09:01:49 pm »
This issue should also be fixed in the next build. (816)
From Sparx support:
Quote
Hello Geert,

Thanks for the note.

EA allows the value of a tag to contain no more that 255 characters.
Hence, values exceeding this limit are automatically truncated to 255
characters.
The "Notes" field allows to add comments for this tag. Refer to
Notes.png which shows how a tagged-value notes is set and accessed.

From Build 816, we will prevent EA from automatically truncating the
values to 255 characters during a Rose XMI 1.1 import. Instead, the
value will be set as a note on the tag.
For example, a tag "rrTag" whose value exceeding 255 characters will be
imported as shown in Notes.png. The "Tagged Values" window will show
that the tag "rrTag" has a value "<memo>". Click on the "Browse" button
and the actual value will pop-up in the "Tagged Value Note" dialog.

Hope this resolves your issue. If you have any further queries, feel
free to write-in.


Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Tagged values content lost on XMI import
« Reply #5 on: August 30, 2007, 09:50:58 pm »
Tested and fixed in 816