Book a Demo

Author Topic: Wrong stereotype identified  (Read 3779 times)

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8626
  • Karma: +259/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Wrong stereotype identified
« on: April 21, 2010, 03:03:19 am »
If you have an MDG Stereotype of a given Name and a Global Stereotype of the same name (perhaps even for a different Base Class) even though the global stereotype does NOT appear on the Global Namespace for that Base Class of Element and you select the MDG named stereotype from the appropriate MDG Namespace, EA will (Often - but NOT always) select the Global stereotype and generate a:
Code: [Select]
@STEREO;Name=<name>;GUID=<some GUID>;@ENDSTEREO;entry instead of the correct:
Code: [Select]
@STEREO;Name=<name>;FQName=<fully qualified name (in MDG)>;@ENDSTEREO;in t_xref.

No wonder my MDG shapescript didn't get activated!

This needs to be fixed ASAP before MORE havoc is wrought in our repositories.

Reported,
Paolo
« Last Edit: April 21, 2010, 03:07:40 am 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: Wrong stereotype identified
« Reply #1 on: June 03, 2010, 12:37:30 pm »
There seems to be a related bug - the obverse in fact - where EA applies the rendering for an MDGT created stereotype to an element which has only had global stereotypes applied.

Now the question of how to you handle pre-existing stereotype (and their rendering) in the presence of profile based stereotypes is not trivial - but I suspect this this just a bug.

Anyone else seen this (apart from my alpha testers...  :()

Paolo
« Last Edit: June 03, 2010, 12:38:26 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: Wrong stereotype identified
« Reply #2 on: April 06, 2011, 03:05:29 pm »
Still there in V9 Beta 2.

Just got bitten by it again....

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