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

    XMLWordPrintable

Details

    • Unknown
    • N/A

    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
          after.png
          242 kB
        2. before.png
          before.png
          124 kB

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: