Book a Demo

Author Topic: V10 Requirements diagrams are trashed upon upgrade  (Read 6562 times)

Tad Anderson

  • EA User
  • **
  • Posts: 52
  • Karma: +1/-0
  • The more I learn the less I know....
    • View Profile
V10 Requirements diagrams are trashed upon upgrade
« on: December 18, 2012, 01:58:27 pm »
Requirement diagrams show all notes and compartments after upgrading and they cannot be turned off.  I have submitted it as a bug but want to post here also.

Here is an example

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #1 on: December 18, 2012, 03:13:28 pm »
Those don't look like requirements to me. They look more like SPEM Deliverables. As a first step, try disabling the SPEM technology (Settings > MDG Technologies).
« Last Edit: December 18, 2012, 03:20:51 pm by KP »
The Sparx Team
[email protected]

Tad Anderson

  • EA User
  • **
  • Posts: 52
  • Karma: +1/-0
  • The more I learn the less I know....
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #2 on: December 19, 2012, 12:45:51 am »
You are correct.  It is a SPEM deliverable, but it should not be.  Turning off SPEM does not help and we should not have to do that.

The problem is EA 10 is using the Stereotype to define the Type instead of the Type.  These requirements had a Stereotype of "Deliverable" and a Type of "Requirement".

Disabling SPEM before opening the project also does not work.  Changing the requirement to Functional (one predefined for Type Requirement) fixes it, but the custom stereotype of Deliverable cannot be created or use without Deliverable changing to a SPEM type even with SPEM disabled.

This is not good.  We will not be able to upgrade until this is fixed.  We have a ton of diagrams that will be affected.  These diagrams have been through multiple major version upgrades (8,9) and we had no problem.
« Last Edit: December 19, 2012, 02:44:51 am by tadanderson »

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #3 on: December 19, 2012, 11:20:59 am »
Quote
You are correct.  It is a SPEM deliverable, but it should not be.  Turning off SPEM does not help and we should not have to do that.
Actually I've changed my mind on that. I don't think it is a SPEM deliverable, but something that looks like one. For starters, the stereotype of an EA SPEM deliverable is «SPEM_Deliverable», not «Deliverable». So there must be some other stereotype either in your model or in your technology paths that is conflicting.

Quote
The problem is EA 10 is using the Stereotype to define the Type instead of the Type.
I've been here since EA 3 and requirements have used the stereotype field for their type in all that time - it's not just an EA 10 thing.

There is definitely a conflicting stereotype, and I don't think it's one of ours because nobody here can reproduce the problem. The first step to finding the conflicting stereotype is to select a requirement and go Settings > UML Types and see if there is a matching stereotype in the stereotypes table. Otherwise, try disabling all technologies - hopefully that will unload the shape script that is causing the problem - and enable them one at a time until the problem comes back.
« Last Edit: December 19, 2012, 11:23:35 am by KP »
The Sparx Team
[email protected]

Tad Anderson

  • EA User
  • **
  • Posts: 52
  • Karma: +1/-0
  • The more I learn the less I know....
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #4 on: December 19, 2012, 12:05:25 pm »
Figured it out.  It was a being affected by a custom profile I had written.   I am not sure why upgrading to 8 and to 9 didn't affect it this way, but deleting the profile worked.

Thanks for your feedback and help.

skiwi

  • EA Expert
  • ****
  • Posts: 2081
  • Karma: +46/-82
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #5 on: December 20, 2012, 08:32:52 am »
Quote
Figured it out.  It was a being affected by a custom profile I had written.
Wot, no apology?
Orthogonality rules
Position and Team disestablished, thanks austerity.
Now itinerant.

Tad Anderson

  • EA User
  • **
  • Posts: 52
  • Karma: +1/-0
  • The more I learn the less I know....
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #6 on: December 20, 2012, 08:52:36 am »
Quote
Wot, no apology?

For what?  It should not have used a custom profile over the Sparx loaded profile.  It is still a bug. Like I said above these projects went through 2 other major version upgrades with no issue.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: V10 Requirements diagrams are trashed upon upg
« Reply #7 on: December 20, 2012, 09:13:05 am »
Quote
It should not have used a custom profile over the Sparx loaded profile.
Requirement types have always been a stereotype, and Sparx Systems doesn't have any profiles that define a stereotype by that name. When you created those elements they would have been assigned to that profile. The only thing that's strange is that I'm not sure what prevented that drawing from being used in the old versions, to me it seems like we implemented something new that allowed your profile to work.