BC break when using custom separator in Class diagram

0 votes
asked 2 days ago in Bug by jawira (120 points)

Hello. Since PlantUML v1.2026.7 I have an error generating Class diagrams.

@startuml
set separator \ 
!pragma useIntermediatePackages false
skinparam linetype ortho
skinparam MinClassWidth 140
hide circle
hide empty members
!theme _none_
class App\Entity\ImageRequest {
+ id : ?int = null
+ user : ?string = null
+ max : ?int = null
+ columns : ?int = null
+ size : ?App\Model\Image\SizeEnum = null
+ createdAt : ?DateTime = null
}
@enduml

This should be the output from the previous code:

Instead, this is the error message I got:

  Error Output:
  ================
  ERROR  1
  Syntax Error? (Assumed diagram type: sequence)

The offending line is "set separator \ ", note there is an empty space at the end of the line.
I tried to fix this using double backslash, but then the separator is simply ignored.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:

[Antispam2 Feature: please please wait 1 or 2 minutes (this message will disappear) before pressing the button otherwise it will fail](--------)
To avoid this verification in future, please log in or register.
...