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

Improper behavior when permanently deleting pages

    Details

    • Difficulty:
      Unknown
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Pull Request Status:
      Pull Request accepted
    • Similar issues:

      Description

      STEPS TO REPRODUCE

      1. Login as Admin
      2. Create the following page structure: a/b/c/d/
      3. Go to page 'a'
      4. Click More Actions > Delete
      5. Select 'Affect children'
      6. Click 'Delete'
      7. Go to Page Index > Deleted Pages
      8. Click on the red 'X' for each of the 4 pages to permanently delete them (start from top to bottom: 'a', 'b', 'c', 'd')
      9. Refresh the page (CTRL + F5)

      EXPECTED RESULTS

      None of the four pages are displayed in the Livetable, as they are all permanently deleted.

      ACTUAL RESULTS

      Although the message 'Page permanently deleted' was displayed on the bottom of the page, it seems that deleting page 'b' (second from the top) does not really delete it, continuing to be displayed in the Livetable.

      On the next step, if deleting page 'b', it actually deletes page 'c', then if deleted again, it deletes page 'd' (screenshots attached).

      When the page 'b' is finally deleted, after refresh, the last 2 pages (initially placed on the bottom of the Livetable - 'c' and 'd') are not deleted and can be restored. However, they can be permanently deleted if clicked the red 'X' from the Actions column once again.

      I noticed that the issue is reproducing if the pages are deleted starting from the top of the Livetable to the bottom for some reason, if they are deleted from the bottom to the top, none of the 4 pages appear after refresh.

      I couldn't reproduce the issue on XWiki 10.6.1 or on XWiki 9.11.7.

        Attachments

        1. Deleted_Pages_After_Refresh.jpg
          220 kB
          Ilie Andriuta
        2. Deleted_Pages_Step1.jpg
          263 kB
          Ilie Andriuta
        3. Deleted_Pages_Step2.jpg
          237 kB
          Ilie Andriuta
        4. Deleted_Pages_Step3.jpg
          227 kB
          Ilie Andriuta
        5. Deleted_Pages_Step4.jpg
          214 kB
          Ilie Andriuta

          Issue Links

            Activity

              People

              • Assignee:
                atallahade Adel Atallah
                Reporter:
                iandriuta Ilie Andriuta
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: