Skip to content

WithoutPropertyHeader() leads to missing "Value" column if first Property is "" #383

@SHU-red

Description

@SHU-red

Hi there,

not sure since when this problem exists but using:

  • Plantuml 1.2024.8
  • C4-Container diagram

The Property table seems broken when:

  1. Using WithoutPropertyHeader()
  2. First Property is empty

Leads to a missing Value Column

For fast tracing i added a example syntax ans example below. It can be seen that Value Column is missing even if 444 has a Value for Sender

@startuml
!include <C4/C4.puml>
!include <C4/C4_Container.puml>


left to right direction


' Base style
UpdateElementStyle(container, $fontColor="black", $borderColor="black", $bgColor="white", $borderStyle = SolidLine())
UpdateRelStyle(, $textColor="grey", $lineColor="grey")
UpdateBoundaryStyle(, $fontColor="grey", $borderColor="grey", $borderStyle = SolidLine())

' Base Query Boundary
AddBoundaryTag("BaseQuery", $fontColor="black", $borderColor="black")

' Item Styles

AddElementTag("Interface", $bgColor="#999999")

' Line Styles
AddRelTag("Versioned", $lineStyle = DashedLine())

' Boundaries/Containers

' WithoutPropertyHeader()
AddProperty("document_short_title", "")
AddProperty("sender", "Foo")
Container(22222, "22222", "Interface", $link="test", $tags="Interface+Queried")

WithoutPropertyHeader()
AddProperty("document_short_title", "")
AddProperty("sender", "Bar")
Container(444, "444", "Interface", $link="test", $tags="Interface+Queried")

' Show legend
SHOW_LEGEND()
@enduml

Image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions