Author Topic: MDG Stereotype added to list of UML Stereotypes in repository  (Read 655 times)

adepreter

  • EA User
  • **
  • Posts: 127
  • Karma: +2/-2
    • View Profile
For some obscure reasons, some stereotypes defined in our MDG are mysteriously added to the list of UML Stereotypes in our shared repository.

As a result, when a new element or connector of that stereotype is created, Sparx uses the one defined in the repository instead of the one defined in the MDG.
Since the signature of these 2 stereotypes are different this has various impacts on the behavior of Sparx (execution of shapescripts, model validation...).

This situation happens notably when we change the type and/or stereotype of an element or connector in our MDG and then in the model repository. In that case, Sparx sometimes adds a new duplicate stereotype in the repository.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 6851
  • Karma: +143/-103
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: MDG Stereotype added to list of UML Stereotypes in repository
« Reply #1 on: October 23, 2018, 01:38:06 pm »
Hi Alain,

This also happens to us.
We just remove the offending Stereotypes on a nightly (and ad-hoc, if required)  basis with a background query.  We maintain a list of our MDG based stereotypes and any we find in the common area get "nuked".

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

adepreter

  • EA User
  • **
  • Posts: 127
  • Karma: +2/-2
    • View Profile
Re: MDG Stereotype added to list of UML Stereotypes in repository
« Reply #2 on: November 20, 2018, 04:38:15 am »
Thank you Paolo