Our organization is having an issue with a velocity template that contains a recursive macro. The exception message is:
org.apache.velocity.exception.MacroOverflowException: Max calling depth of 20 was exceeded in Template
(Note that the velocity template in question is custom build-for and deployed through the Scroll Viewport plug-in).
The Confluence installation is on-premise and the version # is 6.14.
Reviewing the configuration in the installation folder the velocity.properties file has the "velocimacro.max.depth" configuration assigned to "-1" (no limit).
It's my understanding that this is the only configuration variable that controls the macro recursion depth. However, regardless of this setting the custom velocity template fails at depth 20.
Can anyone provided guidance on how to resolve this?
It’s been great to hear from fellow users over the last few weeks about the best tips and fun moments you’ve had working on Confluence since the transition to working remote. I’d love to keep the c...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events