Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-621

Make rendering errors translatables and extendables

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 12.10.10
    • Fix Version/s: 14.0-rc-1
    • Component/s: Macro
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      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

            Activity

              People

              Assignee:
              tmortagne Thomas Mortagne
              Reporter:
              tmortagne Thomas Mortagne
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: