Prevent bulk operation failures and provide a list integrity issues.

Created on 1 November 2020, over 3 years ago
Updated 9 December 2023, 7 months ago

Problem/Motivation

The admin content view has a facility to delete multiple nodes with a bulk operation. But with the module installed this is a nasty experience for a site editor when a selected node has integrity problems. White screen error, backtrace information etc.

In a similar way that node deletion is prevented, would it be possible to have a user friendly method of preventing a bulk operation and listing the problems which need to be addressed?

Steps to reproduce

Create two nodes which reference each other, then attempt to delete one or both with a bulk operation.

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

✨ Feature request
Status

Needs review

Version

1.0

Component

Code

Created by

πŸ‡¬πŸ‡§United Kingdom MrPaulDriver

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.

  • πŸ‡§πŸ‡·Brazil carolpettirossi Campinas - SP

    I don't think this is a duplicate. It looks like the other issue has been merged already. However, the WSOD with backtrace information still shows.

    See the video attached showing the scenario.

  • Status changed to Needs review 7 months ago
  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 10.1.4 + Environment: PHP 7.4 & MySQL 5.7
    last update 7 months ago
    Composer require failure
  • πŸ‡·πŸ‡ΊRussia Chi

    The module overrides DeleteAction plugin from Drupal core. But it doesn't expect more than one entity type to use it.

  • Open in Jenkins β†’ Open on Drupal.org β†’
    Core: 10.1.4 + Environment: PHP 7.4 & MySQL 5.7
    last update 7 months ago
    Composer require failure
  • πŸ‡·πŸ‡ΊRussia Chi

    The is patch removes markup from the translated message used as access result reason.

    Note that bulk form currently does not report the reason provided by action plugin. See referenced issue for details.

Production build 0.69.0 2024