Details
Description
This method allows to access errors put in XWikiContext by some parts of our code.
One example is the authentication, it puts errors in the context under the "message" key, then login.vm uses $xwiki.parseMessage() to retrieve them. Since this methods have been moved to legacy aspects, errors are not displayed in the login screen on SNAPSHOT versions.
@Deprecated public String XWiki.parseMessage(XWikiContext context) { String message = (String) context.get("message"); if (message == null) { return null; } return parseMessage(message, context); }
Attachments
Issue Links
- is related to
-
XWIKI-9460 "login.vm" and "exceptioninline.vm" shouldn't use XWiki#parseMessage()
- Closed
- relates to
-
XWIKI-9000 Error when clicking on "View attachment history" for an attachment when not using legacy oldcore
- Closed