We upgraded to 5.5.1 last night and since then a number of user macros aren't displaying as they used to. They still render but parts of them are not - and some of them are starting to behave differently. Was there a change to the way user macros behave following this upgrade? I can't find any notes on it.
Small question: Did you upgrade your confluence to 5.5.1 because of the security update?
If yes, may you check if the update brought you the new
<CONFLUENCE-INSTALL>/confluence/WEB-INF/lib/atlassian-xwork-core-1.17.jar or does your confluence 5.5.1 uses still the old
I'm also noticing that variables no longer evaluate as I expect them:
## @param istrue:title=Is it true?|type=boolean|default=false #if ($paramistrue) YES #else NO #end
If I set the parameter in the user macro then this evaluates true. If I don't set the parameter then it still evaluates as true. In older versions of the Confluence the latter would evaluate as false.
You'll need to update your user macros.
For strings, replace #if ($paramfoo) with #if ($paramfoo).length() > 0
For booleans, #if ($paramistrue) with #if ($paramistrue == true)
This is because of the security update to xwork.
Badges are a great way to show off community activity, whether you’re a newbie or a Champion.Learn more
Hi Community, Jessica here from the Confluence Product Marketing team! July’s community challenge is all about sharing pictures — and as an extension of our first post on what ...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs