Repeat followed by detach on plantUML.8036

0 votes
asked Mar 4, 2016 in bug by anonymous
edited Mar 4, 2016

As shown on this diagram:

@startuml
start
:Bind;
fork
  repeat
    :Listen admin<
    :Execute;
    :Reply admin>
  repeat while (shutdown>) is (no)
fork again
  repeat
    :Listen user<;
    :Reply user>
  repeat while (forever)
  detach
endfork
:Release;
@enduml

broken loop

The repeat loop for forever is broken, I would expect that loop to look like this one:

@startuml
:previous
 action}
  repeat
    :Listen user<;
    :Reply user>
  repeat while (forever)
@enduml

 

expected

A similar problem happens on while loops

Besides these problems, great work!

Thank you!

1 Answer

0 votes
answered Mar 4, 2016 by plantuml (134,570 points)
Thanks for the report!

This has been fixed in last beta https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Few tests done, so please post again if it's not working for you.

Regards,
commented Mar 7, 2016 by anonymous
Thank you! Now I can properly represent an infinite repeat loop!
asked Mar 7, 2016 in bug by anonymous detach after a while loop in PlantUML 8036
...