If bulk delete action is performed on locked content, skip item and set site message

Created on 8 March 2024, 8 months ago

Problem/Motivation

When content is selected for an action, if any of the selected content is locked against editing, the job will hang and no explanation displays.

Steps to reproduce

Select a group of content, some of which is locked against editing.
Perform a bulk delete action
Verify that the job hangs.

Proposed resolution

Set a condition in the bulk actions to check for locked status, if found, skip the item and set a message on the confirmation screen:
"123 items were locked against editing and were not deleted."

Remaining tasks

Updating actions with condition

User interface changes

N/A

API changes

N/A

Data model changes

N/A

✨ Feature request
Status

Active

Version

4.2

Component

Actions

Created by

πŸ‡ΊπŸ‡ΈUnited States DrupalHack

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

Comments & Activities

Production build 0.71.5 2024