Sparx Systems Forum

Enterprise Architect => Automation Interface, Add-Ins and Tools => Topic started by: Guillaume on March 06, 2020, 08:21:18 pm

Title: MDG enumeration stereotype potential bug (EA15.1)
Post by: Guillaume on March 06, 2020, 08:21:18 pm
I have an MDG with class stereotypes including "enumeration". We're using a stereotype so that our enums have a default colour set in the MDG.
I noticed a strange behaviour though: in the element's properties, when I click on the ... link to show the selected stereotype under my Profile, the list is empty.

Could it be due to the fact that I'm using a reserved keyword for this stereotype? It works ok with other stereotypes.

Title: Re: MDG enumeration stereotype potential bug (EA15.1)
Post by: Geert Bellekens on March 06, 2020, 09:02:36 pm
Probably.

Back in the old days (version 9?) EA didn't have an object type "enumeration". Back then those were classes with stereotype «enumeration» and they were treated in a different way by the application.
I'm guessing that special treatment was somewhat hardcoded and is still in the system.

Geert