false var gets evaluated for skinparam, so the skinparam stopps working

0 votes
asked 6 days ago in Bug by boshka (3,460 points)

1 Answer

0 votes
answered 6 days ago by plantuml (203,680 points)

Well, the preprocessor is executed before any processing. So it does its job without knowing nothing about the underlying PlantUML syntax.

The skinparam line is then changed to :

skinparam shadowing <color:red>false</color>

which indeed does not remove shadowing.

So it works as designed although it could be an issue.

A possible workaround for skinparam could be to check "false" as substring instead of strict string. Would that help ?

commented 6 days ago by boshka (3,460 points)
edited 6 days ago by boshka

"A possible workaround for skinparam could be to check "false" as substring instead of strict string. Would that help ?"

Not sure I understood this, could you explain the workaround a bit more or give an example?

This way worked:

http://www.plantuml.com/plantuml/uml/NP31Ri8m38RlUGfJSMWFi9qHhT2qJTeRxD1BrhWGDTYJuuu3ujtNP7IgkBcVl_gFVOXgHSTpCEer8Bn_VBwzxg2t8I8SKIFWZmsZLNJGiq0SF7rRiUUMIh_5BSIJTNpnTBp_unWZ42jSM8RAcDKVhg7OTnnOTeAkoMp_b45Jc6IDrAbdIfalpA5SJx6L0O2Lxo5_GLt3SqQ9hWLZcff75Ld4gNfigunpbvplSoMeen0anIGyPnlplzrYhVb1KxInc-PhFevVdgRaeMhfUcsfspHkeNWweVYaAFDTkzrQCeSfU3hxBm00

...