Paragraph revisions being ignored when Node is published via Scheduler

Created on 1 July 2025, 6 days ago

When scheduling a Draft revision of Published content to be Published, all changes to paragraphs are ignored and discarded if an existing paragraph contains any edits.

New/removed paragraphs work correctly, but if an edit to an existing paragraph is included in the same scheduled change, it will fail but only if the node has a published revision.

All tests done via Scheduler:

New node scheduled Draft > Published - WORKS
Added new Paragraph - WORKS
Removed paragraph - WORKS
Added new Paragraph and removed existing Paragraph - WORKS
Edit existing Paragraph - FAILS
Edit existing Paragraph and Body field - FAILS
Edit existing Paragraph and add new Paragraph - FAILS

New node and paragraph, never live - WORKS
Edit existing Paragraph, scheduled node to go live - WORKS
Edit existing Paragraph - FAILS

This only affects nodes published via scheduler; revisions of paragraphs are respected when Nodes are published manually via Edit or have their moderation state explicitly set in the Content Moderation view.

This is very similar to the behaviour detailed in this old D7 Scheduler issue .

Steps to reproduce

Running Scheduler 2.2.1 and Drupal 11.2.2.

  1. Add an Entity Reference field to a Content Type, point it to any Paragraph type
  2. Set up basic content moderation and scheduler
  3. Create a new node and add at least one Paragraph
  4. Save the node as a Draft - it should show the paragraph field correctly
  5. Edit the node again, this time editing the Paragraph somehow
  6. Set the node's moderation state to Draft
  7. Use Scheduler to Publish the page sometime in the future
  8. Click Save
  9. Run the Cron
  10. View the node - the changes made to the Paragraph should be missing
🐛 Bug report
Status

Active

Version

2.2

Component

Code

Created by

🇦🇺Australia timfletcher

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

Comments & Activities

Production build 0.71.5 2024