Scheduled transition dates not preserved when coming back from node preview.

Created on 17 July 2019, about 5 years ago
Updated 26 July 2024, about 1 month ago

Problem/Motivation

Steps to reproduce:
1. Goto a node add page: /node/add/article
2. Fill in fields and ADD one or more transitions. Say, set one transition "published" at 5 minutes more than the current time.
3. Do not hit save, instead hit Preview.
4. The node is visible in preview mode. Click on back to content. Notice this time, node add/edit page is opened with "UUID" query parameter.
5. Notice the scheduled publication date. This shows 1 Jan 1970.

Observations:

This value is being read by the react app which is unable to find the correct date for "1563292.005" timestamp.

Update: See #2 for latest observations.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India JayKandari

Live updates comments and jobs are added and updated live.
  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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