Book a Demo

Author Topic: Assigning a non-loaded MDG stereotyp  (Read 4710 times)

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Assigning a non-loaded MDG stereotyp
« on: October 06, 2020, 08:38:30 pm »
I just stumbled over a weird behavior (ah, sorry, not for EA where this is normal behavior). I disabled an MDG so only the basic UML was active. Then I manually assigned a sterotype to a class which had the name of the disabled MDG. Say, it were MyProf::test I just assigned test. Funny enough the color of the class changed since MyProf::test had a shape script which obviously was triggered. Looking into t_xref told me that EA indeed assigned MyProf::test to the class. Hmm, cache?

Ok. I removed the stereotype, closed EA with the MDG disabled and restarted it. Assigned the stereotype again and EA again had the FQN  MyProf::test. How? Is it just to early for me? Am I just hallucinating?

q.

P.S. Maybe a hallucination. Tried it once more and now it did not assign the FQN.
P.P.S. No. It's still behaving weird.
P.P.P.S Forgot to mention I tested on V14. V15 is more strict and does not allow to assign "free" stereotypes. At least one fixed issue.
« Last Edit: October 06, 2020, 08:44:52 pm by qwerty »

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: Assigning a non-loaded MDG stereotyp
« Reply #1 on: October 06, 2020, 08:52:34 pm »
Yeah, since probably v14 EA still loads all MDG's, even if they are disabled.
The only way to really get rid of them is to physically delete the files from the program files folder.

I believe the recommended way to handle MDG's is to use perspectives

Geert

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Assigning a non-loaded MDG stereotyp
« Reply #2 on: October 06, 2020, 09:05:55 pm »
Yeah, that's how it looks like. Unfortunately my customer is forced (by their own rules) to use V14. They'll need a good ralley assistant ;-)

q.