Details
-
Bug
-
Resolution: Fixed
-
Major
-
9.10.1
-
None
-
Unit
-
Unknown
-
N/A
-
N/A
-
Pull Request accepted
-
Description
Currently, AbstractWikiReferenceExtractor is supposed to check if the
Execution context is properly set up before resolving a given alias or wikiId (see the code).
However, even when Execution#getContext() does not return an empty context, it is possible that no XWikiContext is initialized at the time.
A solution for that would be to check if the "xwikicontext" key is present in the current execution context before going on.
Attachments
Issue Links
- relates to
-
XWIKI-14982 Initialize the XWiki Context through the ResourceReferenceHandlerServlet
- Open
-
XWIKI-14947 Allow EntityResourceReferenceHandler to call XWikiActions
- In Progress