Welcome to PlantUML Q&A, where you can ask questions and receive answers from other members of the community.

You can also submit new features request and vote for them.

Classes with individual spot hide their stereotypes

0 votes

Hello,

in classes, the stereotypes are confused by individual spots, see the following example:

 

@startuml
Class foo1 <<ABC>><<Foo>>
Class foo2 <<(D,orange)ABC>>
Class foo3 <<(D,orange)ABC>><<Foo>>
Class foo4 <<ABC>><<(D,orange)Foo>>
Class foo5 <<(D,orange)ABC>><<Foo>><<Bar>>
@enduml

 

http://plantuml.com/plantuml/uml/Syv9B2vMIClFDrImiN5qShQpix5noy-ti-DoXiaO0MKqN7JoYnBpqbCrmMeGaiQOaXW6c22CHfY3PeafJdDiR9mIY-pi0000

 

Results:

  • Adding several stereotypes to a class with the default spot works fine.
  • An individual spot with one stereotype works fine, too.
  • An individual spot with more than one stereotype ignores all stereotypes. Exception: The stereotype with the spot definition will be shown.
asked Sep 28, 2016 in Closed bug by JohannesMeier (840 points)
recategorized Oct 5, 2016 by JohannesMeier

1 Answer

+1 vote
 
Best answer
Thanks for your tests and your detailled report.

This has been fixed in last beta

https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Regards,
answered Sep 28, 2016 by plantuml (126,730 points)
selected Sep 29, 2016 by JohannesMeier
Thanks for the fast fix: It works fine for me.
Support This Project Offer 250 Mo! Follow PlantUML on Twitter
...