just a note over an activated lifeline - does not work

0 votes
asked Jul 20, 2018 in Bug by andreas.kagedal (300 points)
Is this supposed to work:

!pragma teoz true
activate A
note over A: Hello
deactivate A

It does not work for me. I get a "black box" error saying "only activate command can occur before message are send" (which BTW is non-perfect English. At least replace "are" with "is".)
commented Jul 20, 2018 by andreas.kagedal (300 points)
if I remove the final "deactivate" it sort of works, But then I discovere another bug. the box around the participant is not correcly placed when there are no signals.

!pragma teoz true
title really long title
box
participant A
end box
activate A
note over A: Hello
commented Jul 21, 2018 by albert (3,520 points)
Note also that there are some debug (?) statements (unfortunately suppressed / not shown in the web server)when running the examples:
LifeEventTile::updateStairs LifeEvent:A ACTIVATE A y=8.0
OtherTile net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@63676602
LifeEventTile::updateStairs LifeEvent:A ACTIVATE A y=8.0
OtherTile net.sourceforge.plantuml.sequencediagram.teoz.NoteTile@63676602

(version 1.2018.09beta14)

1 Answer

0 votes
answered Jul 24, 2018 by plantuml (295,000 points)
Thanks for the feedback.

This has been solved in last beta http://beta.plantuml.net/plantuml.jar

Tell us if it's not working for you

Regards,
commented Jul 24, 2018 by andreas.kagedal (300 points)
Great! Will have a look.
...