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

Created on 25 January 2023, over 1 year ago
Updated 26 January 2023, over 1 year 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.69.0 2024