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:
#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
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.