If a show-if/hide-if macro is created and a user/users are applied in the User parameter and then at some point one one of the users loses their Confluence account then the show-if/hide-if will display a "Error rendering macro 'show-if' : Failed to render Visibility macro due to: test is not a valid user". While it is good to know that the user is no longer valid and needs to be remove/replaced, none of the contents in the macro are displayed. That means that any of the other "valid" users can no longer see what needs to be seen (or the data is no longer hidden when it should be). Please updated Visibility so that when an invalid user is found then error is displayed so that specific information can be discovered, but also make it so that it will continue to show/hide the information in the macro for all other users/groups.
Hosting platform | Server |
You guys almost got this right with Visibility 5.0.12.
While the show-if and hide-if macros are now displaying if an invalid user/group is in one of the parameters (and that is good) the error is no longer displayed so nobody knows that the macro probably needs to be updated.
It would be nice if the idea was implemented as stated "Please updated Visibility so that when an invalid user is found then the error is displayed so that specific information can be discovered, but also make it so that it will continue to show/hide the information in the macro for all other users/group."
It's better than it was but still not the most optimal.
Attachments Open full size
Hi All,
I have not yet confirmed this, but according to the release notes this was fixed with version 5.0.12:
https://marketplace.atlassian.com/apps/202/visibility-for-confluence/version-history
Thanks!
Attachments Open full size
I do have to reiterate that I feel that this is a bug as the functionality has changed from previous versions and your error handling should not break the entire macro for everyone just because one user or group is no longer valid.
Attachments Open full size
I agree with Rich!
This is a macro error!
What is the target of the ShowIf and HideIf user macro. To show or hide content not to check if all groups or users are correct entered.
Attachments Open full size
+1
As this was the functionality in previous versions (even if that functionality was a bug), it would be nice to have this "feature" ;) brought back.
Attachments Open full size