XWiki Platform
  1. XWiki Platform
  2. XWIKI-1892

Erasing a document that hasn't been previously deleted generates a NPE

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.2 M2
    • Fix Version/s: 1.2 RC1
    • Labels:
      None
    • Similar issues:

      Description

      For example doing this generates a NPE: http://localhost:8080/xwiki/bin/delete/XWiki/Somenonexistentdocument?id=6

      There should be check to see if the document is in the deleted document list before trying to erase it.

        Activity

        Hide
        Vincent Massol added a comment -

        Fixed

        Show
        Vincent Massol added a comment - Fixed

          People

          • Assignee:
            Vincent Massol
            Reporter:
            Vincent Massol
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: