Hi Community,
after the update to 7.19.11 we have a problem with macro commands. How to add the necessary properties to the system or does this not work at all?
Error:
User Macro show-content-group may use context keys [ userAccessor, action, req ] which are not set in system property macro.required.velocity.context.keys. If the macro is not rendered as expected, try to manually add those keys into the system property.
Properties addad like this and problem is solved.
CATALINA_OPTS="-Dmacro.required.velocity.context.keys=comma,seperated,key,values,userAccessor,permissionHelper,action,pageManager,req"
in:
/opt/atlassian/confluence/bin/setenv.sh
This burdened our system to such an extent that normal operation was no longer possible. This is not a solution for us. We are looking for other solutions.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
In your case, adding just this is enough:
CATALINA_OPTS="$CATALINA_OPTS -Dmacro.required.velocity.context.keys=userAccessor,action,req"
Please check out the bug ticket https://jira.atlassian.com/browse/CONFSERVER-82741 related to your issue, there's a note from Atlassian. The behaviour you're experiencing is intended.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.