Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-11050

Do not fail the UI when there's a problem rendering the document's content

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Similar issues:

      Description

      XWikiDocument#getRenderedTitle() can fail, for example if the underlying content parser generates an error. Thus when an exception is raised I propose to log it as an error but continue and use the page name as the returned title.

      This is important because titles are used everywhere: top level menus, panels, activity stream, etc.

        Attachments

        1. after.png
          242 kB
          Vincent Massol
        2. before.png
          124 kB
          Vincent Massol

          Issue Links

            Activity

              People

              • Assignee:
                vmassol Vincent Massol
                Reporter:
                vmassol Vincent Massol
              • Votes:
                1 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: