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

0 votes
asked Jun 10 in Bug by boshka (2,740 points)

1 Answer

0 votes
answered Jun 10 by plantuml (200,240 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 Jun 10 by boshka (2,740 points)
edited Jun 10 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

...