Package style erase Partition style

0 votes
asked Jun 20, 2016 in Closed bug by legz (510 points)
recategorized Jun 20, 2016 by legz

Hi,

The "PackageBackgroundColor" skinparam erase the "PartitionBackgroundColor" skinparam in activity diagram.

 

Example :

result
@startuml
 
skinparam PartitionBackgroundColor #00ff00
skinparam PackageBackgroundColor #ff0000
 
start
Partition MyPartition {
    :Foo;
}
stop
@enduml

 

-> The Partition is red instead of green.

 

This "bug" affect me because I have a common style file for all my diagrams (class and activity) used in my diagrams with an !include. Is there a way to separate partition and package style ?

1 Answer

0 votes
answered Jun 20, 2016 by plantuml (134,510 points)
selected Jun 20, 2016 by legz
 
Best answer
Thanks for the report!

The bug comes from the "legacy" activity diagram, where "partition" were actually coded as "package".

Anyway, we have fixed this in last release https://dl.dropboxusercontent.com/u/13064071/plantuml.jar

Tell us if it's not working for you!

Regards,
commented Jun 20, 2016 by legz (510 points)
You are right, it works fine with the version you linked, thanks !

Btw I use(d ?) the PlantUML Server and it doesn't work here : http://www.plantuml.com/plantuml/uml/K-0gpixCAqWiIinL24WiAiaioSpFSqfCpauloY_DIt7EpyalKb0sC4XBCp10KPgSdPYUYg4Gf0oeK86hk0He61VSH0NVIWIxcai12ApSylEjkMg1AlCB0000
Is there any server update policy?
commented Jun 20, 2016 by plantuml (134,510 points)
Usually, we do not install beta version on the PlantUML server (to limit risks).
If it's blocker for you, we can make an exception this time.
Just tell us.
commented Jun 20, 2016 by legz (510 points)
OK, I didn't realize the version you mentioned is a beta.
Thanks for the proposition but I will wait the next regular version on the server and use the beta locally in the meantime :)
commented Jul 4, 2016 by plantuml (134,510 points)
V8045 published with this fix
...