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

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

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: