Ensure that workflow is enabled on an entity before looking for the moderation_state

Created on 25 January 2023, almost 2 years ago
Updated 26 January 2023, almost 2 years ago

Problem/Motivation

media entities and files may not have moderation_state workflow enabled, however they may have it enabled

Steps to reproduce

Upgrade safedelete to the latest relese,
Delete a file
See error message on the moderation_state

Suspect it is related to a recent change in safedelete

Proposed resolution

see patch

Remaining tasks

TBD

User interface changes

TBD

API changes

TBD

Data model changes

N/A

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇨🇦Canada joseph.olstad

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

Comments & Activities

Production build 0.71.5 2024