Draft not working when page has a parent

Post Reply
User avatar
cobber
Master Bludit
Posts: 78
Joined: Sun Feb 28, 2016 10:15 am
Location: Scotland
Has thanked: 21 times
Been thanked: 5 times

Hi everyone.

Been working on my website and noticed that when I attempt to set a child page to a 'draft' and then save it, the page reverts back to published.

Has anyone else experienced this?

For now, as a workaround, I simply remove the parent from the 'Options' panel.
I can re-add it when I make the page go live.

Also, I would like to make a suggestion that the 'draft' option be added to the drop-down.
The exact location within the options -> Advanced -> Type located within the panel on the right

Great cms as always
User avatar
tiloschroeder
Ssr. Bludit
Posts: 23
Joined: Sat Feb 25, 2023 10:59 am
Location: Klosterlechfeld
Has thanked: 3 times
Been thanked: 9 times
Contact:

I can reproduce this behavior.

The only possible solution: do not create the draft as a subpage. Only when you want to put the page online, attach it as a corresponding subpage.
User avatar
tiloschroeder
Ssr. Bludit
Posts: 23
Joined: Sat Feb 25, 2023 10:59 am
Location: Klosterlechfeld
Has thanked: 3 times
Been thanked: 9 times
Contact:

If the sub-page is already online, just remove the parent page from "Options"->"Advanced" and switch to "Draft" and click on "Save settings".
User avatar
cobber
Master Bludit
Posts: 78
Joined: Sun Feb 28, 2016 10:15 am
Location: Scotland
Has thanked: 21 times
Been thanked: 5 times

Thanks, that is what I ended up doing.
User avatar
CrazyBread
Master Bludit
Posts: 73
Joined: Tue Jan 19, 2016 9:51 pm
Location: Germany
Has thanked: 4 times
Been thanked: 5 times
Contact:

Nevertheless, I would recommend you to open an issue on github.
I don't think that this is the normal behaviour the user would expect.
User avatar
tiloschroeder
Ssr. Bludit
Posts: 23
Joined: Sat Feb 25, 2023 10:59 am
Location: Klosterlechfeld
Has thanked: 3 times
Been thanked: 9 times
Contact:

CrazyBread wrote: Mon Mar 27, 2023 6:48 am Nevertheless, I would recommend you to open an issue on github.
It's more complex than we thought.

When a page is created (e.g. as "static") and saved as draft, the page type is reset to "default". So somehow page status (draft, published) and page type (default, sticky, static) are still linked, which makes no sense from my point of view.

Are these two issues for you or one related issue?
Post Reply