Hi all
We just have updated from 8.5.4 to 8.5.15.
Most things working fine.
We have a user macro which reads and save contentproperty informations.
The contentproperty isn’t working anymore.
The macro is really easy and just wants to store some information:
Full macro is in the attachment
macro.txt (433 Bytes)
#set ( $contentProperties = $content.getProperties() )
$contentProperties.setStringProperty("offsetDate", "Test")
Atlassian said:
Due to security restriction recommendations arising from a third-party audit, we blocked access to the com.atlassian.confluence.content.ContentProperties class from Velocity templates. Velocity templates are intended for use as a view layer—they should show/display content and not modify data or application state.
Is there any chance to store values with a user macro? I need the values for getting the values within another macro…
Thanks for the answers.
Regards, Dominic