Book a Demo

Author Topic: Inconsistent stereotype base class  (Read 3589 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Inconsistent stereotype base class
« on: May 12, 2010, 05:47:57 pm »
I wanted to change the rendering of an n-Ary Association Lozenge.  So I created a stereotype.  I looked down the provided list of base classes for the stereotype and found "n-ary association".  I selected it made the desired changes and saved the stereotype specification.

The stereotype DIDN'T apply the desired rendering.

Since I'm now well versed in EAUI, I tried my usual technique of getting EA to tell me what it thinks is going on...  I changed the stereotype to a nonsensical one in the element itself and then opened the Settings|UML...|Stereotypes dialog to find out what base class EA had assigned.  To my surprise (Not really - since n-ary association hadn't worked), EA had created a stereotype with base class "associationex" - which isn't on the list!   ::)

Now, normally, when you select a globally stereotyped element and then select Settings|UML...|Stereotypes EA will conveniently open the dialog at the selected primary stereotype.  This time it didn't...  (An indication that "there's something crook in Tobruk"!).

OK, so I change the rendering of THIS stereotype - created by EA itself! - and it still DOESN'T apply!   :o

Eventually, I found that selecting the "association" base class would apply the rendering!

BUT... And this IS where INSULT is added to INJURY!  The stereotype doesn't appear in the element's stereotype drop-down unless the base class is set to "associationex"!   So I have to define one stereotype but have it rendered according to another!  :-?

Will EA please make up its mind as to what this Lozenge is?

How does Geoffrey Sparks expect his users to figure this out if his own product can't? >:(

This is reminiscent of the Realization debacle...  See: Dear Geoffrey...

Reported,
Paolo
If you want to vote for a fix for this, submit a Registered Bug Report or Bug Report
with the same name, leaving a note here to say you've done it
 - so we users have an indication of the level of support.
« Last Edit: May 12, 2010, 05:53:43 pm by PaoloFCantoni »
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Inconsistent stereotype base class
« Reply #1 on: May 14, 2010, 10:30:48 am »
Reference Number assigned: 10055716

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!

SomersetGraham

  • EA User
  • **
  • Posts: 376
  • Karma: +1/-0
    • View Profile
Re: Inconsistent stereotype base class
« Reply #2 on: May 14, 2010, 05:14:42 pm »
supported
Using V12

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Inconsistent stereotype base class
« Reply #3 on: May 19, 2010, 09:46:06 pm »
Sparx have agreed it will be fixed... but when?

Support the bug fix...

Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!