You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This (great) extension does not take conditionals into account when posting the UML to a plantuml server. It appears to expect X number of pages to be returned, where X is the amount of times the newpage command appears in the UML.
It fails when posting to a local dockerised plantuml server, and to the plantuml.com server.
Minimal example:
@startuml newpage conditional test
' swap to Multiple mode to see the extension successfully render multiple pages
!$bPaging= "Single"
' !$bPaging = "Multiple"participantCustomer!if $bPaging== "Single"
rnoteacross : SinglePage!elseif $bPaging== "Multiple"
rnoteacross : Page1 newpagernoteacross : Page2!endif@enduml
This issue was logged a few years ago where procedures were involved., but I figured I'd add this information as here.
Thanks for a great extension!
The text was updated successfully, but these errors were encountered:
daveokeeffe
changed the title
Diagram preview fails when newpage command is nested in a conditional that does execute
Diagram preview fails when newpage command is nested in a conditional that does not execute
Sep 25, 2024
This (great) extension does not take conditionals into account when posting the UML to a plantuml server. It appears to expect X number of pages to be returned, where X is the amount of times the
newpage
command appears in the UML.It fails when posting to a local dockerised plantuml server, and to the plantuml.com server.
Minimal example:
This issue was logged a few years ago where procedures were involved., but I figured I'd add this information as here.
Thanks for a great extension!
The text was updated successfully, but these errors were encountered: