Node validation failure causes scheduled transition date/time changes

Created on 17 September 2020, over 4 years ago
Updated 22 July 2024, 10 months ago

Problem/Motivation

When a scheduled transition has been saved but the node form fails validation, any scheduled transitions are changed to January 19, 1970 at 7:32 AM.

Steps to reproduce

  1. Go to a node form page.
  2. Leave the Title field blank.
  3. Set a scheduled transition and save.
  4. Save the node.
  5. Validation of the node should fail because of the empty Title field and you will notice the scheduled transition date changed to something like "January 19, 1970 at 7:32 AM".

Proposed resolution

I assume the values are getting lost because of the page refresh when the node is saved. Need to investigate a better way to handle this issue.

Remaining tasks

User interface changes

API changes

Data model changes

πŸ› Bug report
Status

Closed: outdated

Version

1.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States weekbeforenext Asheville, NC

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024