Object diagram: crash when map refers to object inside a group

0 votes
asked Jan 20 in Bug by Bram

PlantUML cannot render an object diagram when there's a map that refers to an object inside a group. When the map is part of the group, it renders OK. Minimal example:

@startuml
frame G {
        object A
}

map M {
        a *-> A
}

@enduml

1 Answer

0 votes
answered Jan 20 by Martin (4,880 points)

A work-around is to qualify the object name with the group namespace:

@startuml
frame G {
        object A
}

map M {
        a *-> G.A
}
@enduml

Obviously though it's never good to crash...

...