I'm working on a user macro that will generate javascript that would allow my confluence users to render RallyDev content on a page. If I take my code and paste it inside Bob Swift's HTML macro on a page it works just fine. When I convert it into a user macro with no parameters it turns into a cannot render template error.
Where can I see more detail on what could be causing the error in the user macro? Is there a logfile or something I can look at?
Hi,
I suspect you may be hitting this bug: https://jira.atlassian.com/browse/CONF-26104
As a workaround you may want to try to put the javascript code in a .js file on your webserver and simply include that file, that will prevent Confluence to alter the javascript code within the user macro (I experienced CDATA encapsulation to be added into javascripts)
For my JQuery-Scripts it helped to replace all "$" with "jQuery", maybe that's an issue as well.
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.