Details
-
Bug
-
Resolution: Fixed
-
Critical
-
11.10.3, 13.4.5, 13.10
-
None
-
Windows 11 Pro 64 bit, Chrome 96, using a local instance XWiki 13.10 on MariaDB 10.6, Tomcat 9.0.55
-
Integration
-
Unknown
-
N/A
-
N/A
-
Description
STEPS TO REPRODUCE
- Create a page from Home (e.g. "DeleteTest1" <server>/xwiki/bin/view/DeleteTest1/)
- Edit it in Class mode and add a property (e.g. 'Time1' / Type: Timezone)
- Create another page (e.g. "PageTest1" <server>/xwiki/bin/view/PageTest1/)
- Edit "PageTest1" in Object mode and add a 'DeleteTest1' object
- Go to page that contains the class ("DeleteTest1") and click More Actions > Delete
- Don't select anything from the tree and click "Confirm"
EXPECTED RESULTS
The page containing used XClass "DeleteTest1" is not deleted, since it was not selected from the tree on the warning message.
ACTUAL RESULTS
The page gets deleted nevertheless. The same happens if the page containing used XClass is nested under a space and then the Delete action is initiated from XClass page itself.
However, if the Delete action is initiated from the space level (by selecting "Affect children") and the page containing the used XClass is not selected, it's not being deleted, as expected.
Attachments
Issue Links
- relates to
-
XWIKI-16995 Cannot delete some pages with xclass and an xobject from that xclass
- Closed
-
XWIKI-19233 Cannot delete a translated xclass document
- Closed
-
XWIKI-15653 Prevent users from deleting/moving/renaming pages containing XClass
- Closed