Book a Demo

Author Topic: MDG/profiles and stereotype _images  (Read 3282 times)

Peter Bull

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
MDG/profiles and stereotype _images
« on: March 30, 2009, 06:31:11 pm »
Hi

I have had a bad weekend so if anyone can help with this Sparx question that may improve my mood!

I have created a profile and extended requiremenrs to include 2 other types of requirement with tagged values.

I can export to profile and import or convert that profile into an MDG.

However the shape script stored/set using the _image attribute on my requirement types is not imported into my target model- but the tagged values work fine.

Any reasons why? I have never managed to get this to work in previous attempts on 7.1 - I am now on 7.5.

Cheers

Pete

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: MDG/profiles and stereotype _images
« Reply #1 on: March 31, 2009, 09:03:12 am »
First thought: in the Save UML Profile dialog there is an Include Alternate Image checkbox. This needs to be ticked or the shape script won't get written to the profile.
The Sparx Team
[email protected]

Peter Bull

  • EA User
  • **
  • Posts: 20
  • Karma: +0/-0
    • View Profile
Re: MDG/profiles and stereotype _images
« Reply #2 on: March 31, 2009, 07:12:15 pm »
The save alternate image was definietly ticked.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: MDG/profiles and stereotype _images
« Reply #3 on: April 01, 2009, 09:46:24 am »
Second thought is that there could be a syntax error in the shape script.

Beyond that, I would need to see the shape script, the diagram that you create the profile from (XMI export or screen shot) and the profile XML. Would you be able to send in a bug report with those things attached please? Thanks.
« Last Edit: April 01, 2009, 09:47:18 am by KP »
The Sparx Team
[email protected]

Frank Horn

  • EA User
  • **
  • Posts: 535
  • Karma: +1/-0
    • View Profile
Re: MDG/profiles and stereotype _images
« Reply #4 on: April 01, 2009, 09:59:44 pm »
The tiniest spelling mistake in the attribute name (_image) or the shape script may lead to the effect of nothing happening at all (as opposed to a useful error message). Your can narrow it down by trying it with a trivial and foolproof shape script, or by trying the real shape script outside a profile, a.s.o.