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

Improper behavior when permanently deleting pages

    XMLWordPrintable

Details

    • Unknown
    • N/A
    • N/A
    • Pull Request accepted

    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

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: