Unable to change scheduled moderation state on the node edit page

Created on 25 August 2025, about 2 months ago

Problem/Motivation

When I investigated this issue https://www.drupal.org/project/scheduled_publish/issues/3519192 πŸ› User is not able to Edit scheduled publish record when a node is already published. Active , I found another bug with editing of scheduled publishing. I created a new issue since this problem differs from the previous one, and its root cause and fix will also be different.

It's not possible to edit "Scheduled moderation state change" on the node edit page. When trying to edit, I receive an error message, "All fields need to be filled."

This issue appeared after the fix was committed https://www.drupal.org/project/scheduled_publish/issues/3196105 πŸ› Field widget does not show on desktop breakpoint (Gin Fixed

Steps to reproduce

1. Open an existing node or create a new.
2. Set "Scheduled moderation state change"
3. Save it (and re-save node).
4. Try to edit "Scheduled moderation state change", for example, change the date, and click "Save"
5. An error message with text: "All fields need to be filled" will appear.

Proposed resolution

Need to adjust the fetching values from form state during widget edit in ScheduledPublishWidget.php

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine vitaliyb98

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024