Sparx Systems Forum

Enterprise Architect => Bugs and Issues => Topic started by: adepreter on October 22, 2018, 11:15:25 pm

Title: MDG Stereotype added to list of UML Stereotypes in repository
Post by: adepreter on October 22, 2018, 11:15:25 pm
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.
Title: Re: MDG Stereotype added to list of UML Stereotypes in repository
Post by: Paolo F Cantoni 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
Title: Re: MDG Stereotype added to list of UML Stereotypes in repository
Post by: adepreter on November 20, 2018, 04:38:15 am
Thank you Paolo