Book a Demo

Author Topic: Synchronizing Stereotypes does not work in 907  (Read 5452 times)

skylord88

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Synchronizing Stereotypes does not work in 907
« on: June 09, 2011, 06:26:52 pm »
when adding custom tags to a stereotype using a profile + own built MDG the "synchronize" stereotype does not work anymore "older classes having the same stereotypes created in EA 8 in the past are not updated, newly created classes with the stereotypes work fine... any suggestions?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #1 on: June 09, 2011, 07:21:17 pm »
Report  a bug...

I had a strange behavior with tags yesterday. One tag of a package appeared for an element of the package (I was able to proof that it was the identical tag). Somehow I "rectified" the situation but it seems obvious that Sparxians have mangled the code for Tagged Values somehow....

q.

shirleyj

  • EA User
  • **
  • Posts: 29
  • Karma: +0/-0
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #2 on: June 12, 2011, 04:37:51 pm »
hi,
I also encounterd the same problem.
I sent sparx a bug report with an example of the issue.
they said its being investigated.
hope to see a solution soon.
meanwhile, the way i found to solve this, is to change the stereotypes of the elements you want to sync to something else, and then change it back to the original stereotype. then try to sync again.  it should work now.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #3 on: June 13, 2011, 07:37:13 am »
Synchronization of stereotypes just plain doesn't work in EA 9. As an example, try importing (via .CSV import) several Requirements elements with the stereotype "requirement" and then try to sync with SysML 1.2 Requirements - nothing happens. The reason for this is that the stereotype "requirement" is created as a new stereotype with its own GUID; it thus has no relationship to the corresponding SysML 1.2 stereotype of the same name. The only way to get sync to work is to hack the underlying database (table t_xref) and eliminate the GUID, replacing it with "FQName=SysML1.2::requirement;". Once this is done, sync will work (I've tried it).

Sparx needs to (finally!) break with stereotypes as text strings and recognize them as full-fledged objects. This would include allowing a stereotype to be specified by its FQName and having EA recognize the qualifier as a qualifier, not just part of a meaningless string.
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #4 on: June 14, 2011, 08:44:42 am »
Fred, what you are seeing is that EA isn't synchronizing a stereotype that doesn't actually match the SysML1.2 profile.

In other words, it's working correctly.

fwoolz

  • EA User
  • **
  • Posts: 435
  • Karma: +0/-0
  • We have met the enemy, and he is us.<Pogo, 1970>
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #5 on: June 14, 2011, 10:48:15 am »
Simon,

Perhaps, but this leaves those of us who would like to import SysML 1.2 requirements into EA via CSV import up a creek w/o a paddle. Since it is not currently possible to specify an FQName when importing, one is left with the database hack I described. It would be wunnaful if Sparx could revise stereotypes so that an FQName (e.g. SysML1.2::requirements) is correctly parsed, whether typed in or imported, and mapped to the correct profile.

Cheers,
Fred
Fred Woolsey
Interfleet Technology Inc.

Always be ready to laugh at yourself; that way, you beat everyone else to the punch.


qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #6 on: June 14, 2011, 06:42:22 pm »
I fully agree with Fred's statement.

q.

Dave_Bullet

  • EA User
  • **
  • Posts: 295
  • Karma: +0/-0
    • View Profile
Re: Synchronizing Stereotypes does not work in 907
« Reply #7 on: June 15, 2011, 01:39:50 pm »
Yup - sync'ing stereotypes with tagged values is completely broken in 906 (either via rightclick toolbox on the type or via the resources view).  My example is on a custom UML profile I created (no MDG / vendor technology involved).  Worked before on 8.0.863
"I know I'm close to a good design, but it's like the balloon animals, squeeze in one spot and the problem moves down the line"