Scheduling a published content with content moderation unexpectedly unpublishes the content

Created on 17 September 2024, about 2 months ago
Updated 19 September 2024, about 2 months ago

Problem/Motivation

We encountered a strange behavior when using scheduler on already published nodes: the content is temporarily unpublished until cron is ran.

Steps to reproduce

  1. Create an article that has content moderation in status Published.
  2. Edit the article again and set a publication date with scheduler (past or future).
  3. Set the moderation state to published.
  4. Save.

Result: The content is now not published anymore (until cron runs).

In order to identify this behavior we ran these tests:

Apparently the difference is the code added in this issue: Moderation state can be Published while entity status remains 0 β†’

Proposed resolution

Update thunder versioning to use SCMI latest version.

Remaining tasks

Review and test.

πŸ› Bug report
Status

Needs review

Version

7.3

Component

Code

Created by

πŸ‡©πŸ‡ͺGermany anacolautti

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

Comments & Activities

Production build 0.71.5 2024