Problem with litetime and self-messages

0 votes
asked Dec 19, 2019 in Bug by corossig (120 points)
@startuml
Bob -> Alice: Hello!
activate Alice
Alice -> Alice : bug
deactivate Alice
@enduml

When sending a message from a participant to itself and then stopping lifetime, the arrow is after end of lifetime.

I think this is an error.

1 Answer

0 votes
answered Jan 3, 2023 by Rob den Braasem
This still happens (2023-01-03)
commented Jan 3, 2023 by The-Lu (64,760 points)

Hello R., and all,

See similar issue and/or workaround here:

Then here are some workaround:

@startuml
Bob -> Alice: Hello!
activate Alice
Alice -> Alice : workaround
Alice -[hidden]-> Alice
deactivate Alice
@enduml

Or:

@startuml
!pragma teoz true
Bob -> Alice: Hello!
activate Alice
Alice -> Alice : workaround
||0||
deactivate Alice
@enduml

Enjoy,
Regards.

...