Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.7.1
-
Component/s: Rendering
-
Labels:None
-
Difficulty:Unknown
-
Similar issues:
XWIKI-5282Wiki macros based on user or wiki are not unregistered XWIKI-7315Wiki macros are not registered in workspaces XWIKI-7913Can not register a wiki-level JSX even with PR XWIKI-6562Font names list from WYSIWYG loses its values when page saved by IE6 and IE7 XWIKI-8832Include macro does not resolve its reference properly cross wiki (when page is displayed with display macro) XWIKI-6872Unable to access a page with "/" in its name XWIKI-3762Macro insertion issue in IE6 -> next paragraph style is lost
Description
This issue (if it really is an issue it will be hard to track down)
-Steps to reproduce:
- Login as Admin, create a user and give him PR
- Logged in with the newly created user and I created a Wiki Macro containing some groovy.
- Macro characteristics:
- Supports inline mode: 1
- Macro Content Type: Mandatory
- Macro Visibility: Global
- Wait around, and the macro will stop working.
The macro worked some time, but suddenly stops working. I've got a error, saying it was unregistered.
The document was not saved in the meantime by anyone. Neither by me (the author)
This happens on a XWiki Enterprise 2.7.33694 so my guess is that newer versions are affected as well.
The problem is not the PR for the internal groovy macro, but the fact that the macro is no longer registered. Since the macro is registered as Global, it could mean either that it somehow appears not to have PR when registering it, or that it was registered successfully, but at some point it was removed from the list of registered macros.