Repository navigation
Fix bulk deletion of nested pages (#4506) - #4715
Merged
MizukiTemma merged 4 commits intoNov 26, 2026
Merged
Conversation
malakbenjemaa
marked this pull request as ready for review
November 24, 2026 21:46
MizukiTemma
self-requested a review
November 25, 2026 09:38
MizukiTemma
approved these changes
Nov 25, 2026
Member
There was a problem hiding this comment.
Thank you for your first contribution in our repository 🎉 It looks good 😸
I added two changes:
- Showing a hint to users that there can be archived subpages that blocked deletion if bulk deletion fails
You can reproduce such a case by bulk-deleting those 4 pages in the default data set:

- Added a release note
If you find those changes good, please squash the commits and merge the PR 👍
Contributor
Author
|
Thank you for reviewing my PR and for the additional improvements! Both changes look good to me. I don't seem to have permission to merge the PR into the main repository. Could you please squash and merge it on your side? Thanks again for your help! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Short description
Fix bulk deletion of nested pages by processing children before their parents.
Proposed changes
Side effects
The change only affects the processing order of page bulk deletion. Other bulk actions are not intended to be affected.
Faithfulness to issue description and design
There are no intended deviations from the issue description.
How to test
test_bulk_delete_nested_pagesto cover the reported bug.FakeWebpackLoaderto avoid a local Webpack build issue.WebpackLoaderBadStatsError).FakeWebpackLoader. To reproduce the results locally, temporarily setWEBPACK_LOADER["DEFAULT"]["LOADER_CLASS"]to"webpack_loader.loaders.FakeWebpackLoader"intest_settings.py, as the local Webpack build is incomplete and causesWebpackLoaderBadStatsErrorduring page rendering. This temporary configuration is not included in the PR.To verify manually:
Resolved issues
Fixes: #4506