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

NullPointerException when deleting a comment through REST

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.7
    • Fix Version/s: 9.9-rc-2
    • Component/s: REST
    • Labels:
      None
    • Difficulty:
      Trivial
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: