Append change method throws error when used on moderation_state field

Created on 26 July 2021, over 3 years ago
Updated 24 September 2024, 7 months ago

Problem/Motivation

The "Append to the current value" change method causes a fatal exception when used on the Moderation state field provided by core's Content Moderation.

E.g
The state 'draft published' does not exist in workflow.

Steps to reproduce

Update the moderation state field via a bulk edit action and select "Append to current value"

Proposed resolution

Skip the moderation_state field when checking which options to add. There's most likely other fields we need to skip this for too.

🐛 Bug report
Status

Needs review

Version

3.0

Component

Code

Created by

🇦🇺Australia acbramley

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