Details
-
Improvement
-
Resolution: Fixed
-
Major
-
12.10.10
-
None
Description
Currently, all generic macro errors (like a missing macro or a failing Macro#execute) are hardcoded error messages, impossible to translate or customize.
Ideally, we should make MacroErrorManager a component that can be overriden in xwiki-platform and associate the different kind of macro errors with identifiers that can then be used to find a template in charge of displaying the error.
Attachments
Issue Links
- blocks
-
XWIKI-19007 Propose to search for extensions containing a missing macro right in the error message
- Closed
- causes
-
XWIKI-20511 Rendering errors are not accurate in restricted context
- Closed
- depends on
-
XWIKI-19200 Add support for inline execution of templates
- Closed
-
XWIKI-19208 Introduce uiextensions rendering macros
- Closed
-
XCOMMONS-2322 Add a helper to create a LogEvent for a mix of arguments and throwable
- Closed