Details
-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
17.10.9, 18.4.0
-
None
-
Windows 11 Pro, Firefox 151, using an instance of XWiki 17.10.9 on MySQL 9.7, Tomcat 11.0.22
-
Unknown
-
Description
Preconditions: User needs to be Advanced.
Steps to reproduce
- Go to Sandbox.WebHome
- Create 20 children under this page (Pag1, Pag2, etc), all with Sandbox.WebHome as parent
- On Sandbox.WeBHome, click 'More Actions' > 'Delete'
- Tick 'Affect children'
- Click 'Delete'
- Select the entire tree 'Pages that are not mandatory for any extension'
- Click 'Confirm' button
- Click 'Delete log'
- Observe the logs
Expected results
The delete logs start with "Starting job of type [refactoring/delete]..." and end with "Finished job of type [refactoring/delete]..."
All deleted pages are displayed in the logs once.
Actual results
Under some conditions (in my tests I've noticed for ex. right after starting the instance or after some time passed without deleting pages), the deleted pages (Pag1 to Pag 20) are displayed twice (but not all the time, for ex. in the video attached Pag9 isn't duplicated) and the TestPage1, TestPage2 and TestPage3 with last log at the end "Finished job of type [refactoring/delete]..." are missing.
On Page Index though, the TestPage1, TestPage2 and TestPage3 are displayed in the list of deleted pages.
Please see the attached video with the issue that I was able to capture.
The issue could be reproduced on Jetty/HSQL demo package as well and also on XWiki 18.4.0 and was discovered while testing XWIKI-24145.
Attachments
Issue Links
- relates to
-
XWIKI-24145 Wrong behavior when deleting a page with its children
-
- Closed
-