Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

manage.py cms fix-tree should accept an optional parameter for root#8139

jrief started this conversation inGeneral
Discussion options

jrief
Feb 10, 2025
Collaborator

During concurrent editing actions on the same subtree of aPage, users sometimes experience a corruption of that tree.

By running./manage.py cms fix-tree this can be fixed, but since we are approaching ~30k pages this operation takes a while and might cause other race conditions while its running.

I therefore would like to propose the following change to that management command:

It should accept an optional parameter to restrict the repair mechanism to a given subtree of a page. The question is, if that parameter should be a URL or the Page-ID itself?

You must be logged in to vote

Replies: 1 comment

Comment options

fsbraun
Feb 10, 2025
MaintainerSponsor

Technically, we can accept both:int denotes a pk, slugs with slashes in between denote a path.
pk would be sufficient for me, though (no need for language-specific analysis).

You must be logged in to vote
0 replies
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Category
General
Labels
None yet
2 participants
@jrief@fsbraun

[8]ページ先頭

©2009-2025 Movatter.jp