Scheduling a new draft of an already published node silently deletes the published page.

Created on 28 January 2025, 3 months ago

Problem/Motivation

It's impossible to schedule a new draft release without silently losing the published version.

Steps to reproduce

  • 1. Create a new "Test" page with text: "Published", publish it.
  • 2. Create a draft version for "Test" page with text: "Draft", set status to draft, save.
  • ↳ When visiting /test page: can see the published version ("Published" text) and at /node/<id>/latest you see "Draft". ✔
  • 3. Edit the page, change the text to "Scheduled", set status to scheduled, save.
  • ↳ Now you can only see the unpublished "Scheduled" text page, non-admins get 404. ✖

Expectations: /node/<id>/latest shows "Scheduled" version and the /test page still shows "Published".

Marked as Major as we're technically losing the published content without any notice.

🐛 Bug report
Status

Active

Version

3.0

Component

Code

Created by

🇱🇻Latvia Phonoman

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024