Bulk operation not working on nodes.

Created on 14 March 2023, almost 2 years ago
Updated 10 July 2023, over 1 year ago

Problem/Motivation

If the user tries to apply a bulk operation, we get a WSOD, here the error:

Error: Call to undefined method Drupal\views_bulk_operations\Form\ConfigureAction::getEntity() in unique_content_field_validation_validate_unique() (line 235 of ../modules/contrib/unique_content_field_validation/unique_content_field_validation.module)

Steps to reproduce

  1. Go to admin/content
  2. Select a node
  3. Try to change a value of that node.
  4. Click on save.

Proposed resolution

We need to return before check if the value is unique if the method "getEntity" does not exists.

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.1

Component

Code

Created by

🇪🇸Spain selvira Seville, Spain 🇪🇸, UTC+2 🇪🇺

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

Comments & Activities

Production build 0.71.5 2024