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

NullPointerException when deleting a comment through REST

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.9-rc-2
    • 9.7
    • REST
    • None
    • Trivial
    • N/A
    • N/A

    Description

      Deleting comments out of order leads to NullPointerException in ModelFactory.toRestPage.

      How to reproduce:

      • Have a page with more than one comment
      • Delete the first comment
      • invoke toRestpage on an instance of ModelFactory for this page with the withObjects parameter set to true

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            inch Inge Syvertsen
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: