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

Deleted document that cannot be restored breaks the display of all deleted documents livetable

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A

    Description

      In the way the JSON is generated in https://github.com/xwiki/xwiki-platform/blob/master/xwiki-platform-core/xwiki-platform-index/xwiki-platform-index-ui/src/main/resources/XWiki/DeletedDocumentsJSON.xml#L115 there is no protection against the fact that originalDocument may be null.

      If such case arrives, the whole JSON is unparsable and thus the deleted documents livetable cannot be displayed at all in the document index.

      Attachments

        Issue Links

          Activity

            People

              tmortagne Thomas Mortagne
              lucaa Anca Luca
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: