Inline multicast activate only activates the first target

0 votes
asked Oct 21, 2021 in Bug by Steven Mueller

++ and --++ don't work as expected in multicasts; only the first target gets activated.

Currently this code only results in Bob being activated, not Dave or Charlie:

@startuml
!pragma teoz true
actor Alice
actor Bob
actor Charlie
actor Dave
Bob -> Alice ++: message1
Alice -> Bob & Dave & Charlie --++: multicast message
@enduml

http://www.plantuml.com/plantuml/uml/DOux3W8n34Hxdy8qswnIq5AWvNEH8LXBf8GWnw7Wz8GDwKRpdgrPYa6jfaYxbs9DO9FyOTCg16zP-HI37_cSR_zqUK1Z6FqLRw46sHsxp_Dyu2IbO9KzzQgndp9jDa_Z1JktoJLQy2WspcYHvxqD-m80

Note you can work around this by activating Charlie and Dave manually after the multicast:

Alice -> Bob & Dave & Charlie --++: multicast message
activate Charlie
activate Dave

1 Answer

0 votes
answered May 26 by The-Lu (65,440 points)

Hi S., and all

FYI, it is now fixed with the last PlantUML version:

Thanks to the PlantUMML team and contributors, yes

Regards,
Th.

...