Cannot use autonumber if sequence diagram specifies shape of participants

0 votes
asked Aug 9, 2021 in Bug by dragondive (440 points)

This plantuml specification doesn't parse:

@startuml
actor Alice
database Bob

autonumber
Alice -> Bob : Hello
@enduml

By removing the first two lines that define the shape of participants, the autonumber works properly. The autonumber feature should be independent of the shape, hence this appears to be a bug.

If not, how could I use autonumber in this case? Do I have to use a different syntax?
 

1 Answer

+1 vote
answered Aug 11, 2021 by The-Lu (44,040 points)
selected Aug 17, 2021 by dragondive
 
Best answer

Hello D.,

  • What is your PlantUML version?

FYI, with the online version (v1.2021.10beta2), it seems to works:

Regards.

commented Aug 17, 2021 by dragondive (440 points)
Thanks, it seems to be already fixed in the newest version. My version was only a few weeks old: version 1.2021.8.
...