You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If the page tree is corrupted, the management command manage.py cms fixtree repairs the the path field in model TreeNode. It however does not repair the path field in model PageUrl.
Steps to reproduce
I don't know how to corrupt the page tree in a reproducible manner, but this probably was caused by another Internal Server Error or race condition. Anyway, take a page find its PageUrl-object and poke an invalid value into the path field.
That page will now be accessible under that new path, but it won't show up in the admin view: Page Tree.
Invoking manage.py cms fixtree does not fix this.
Expected behaviour
In my opinion, manage.py cms fixtree should also fix the PageUrl objects.
Any objections?
Do you want to help fix this issue?
I have a patch.
Yes, I want to help fix this issue and I will join #workgroup-pr-review on Slack to confirm with the community that a PR is welcome.
No, I only want to report the issue.
The text was updated successfully, but these errors were encountered:
Description
If the page tree is corrupted, the management command
manage.py cms fixtree
repairs the thepath
field in modelTreeNode
. It however does not repair thepath
field in modelPageUrl
.Steps to reproduce
I don't know how to corrupt the page tree in a reproducible manner, but this probably was caused by another Internal Server Error or race condition. Anyway, take a page find its
PageUrl
-object and poke an invalid value into thepath
field.That page will now be accessible under that new path, but it won't show up in the admin view: Page Tree.
Invoking
manage.py cms fixtree
does not fix this.Expected behaviour
In my opinion,
manage.py cms fixtree
should also fix thePageUrl
objects.Any objections?
Do you want to help fix this issue?
I have a patch.
The text was updated successfully, but these errors were encountered: