Using hide stereotype overrides database stereotype customisation

0 votes
asked Jun 23 in Bug by Brian (120 points)

Goal To show new/changed components with a red outline by adding and customising the stereotype.

  • Expected: All stereotyped objects with custom colours retain when stereotypes hidden
  • Observed: Stereotyped Database objects loose custom colouring when stereotypes hidden
@startuml Hide Behaviour

hide footbox
'hide << new >> stereotype

skinparam database {
    BorderColor<< new >> red
    BorderColor black
    BackgroundColor white
}

skinparam participant {
    BorderColor black
    BackgroundColor white
    BorderColor<< new >> red
}

actor User 
participant SystemName
participant SystemNameChanged<< new >>
database DBName
database DBNameChanged<< new >>

User -> SystemName
activate SystemName
SystemName -> DBName
SystemName -> SystemNameChanged
activate SystemNameChanged
SystemNameChanged-> DBNameChanged

@enduml

Gives red outline on SystemNameChanged and DBNameChanged:

Unhidden

Uncommenting the hide statement gives black outline on DBNameChanged, but SystemNameChanged is OK.

hidden

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...