"Bulk Update" column broken when grouping due to wrong "use" statement.

Created on 25 February 2023, over 1 year ago

Problem/Motivation

I have a view displaying Commerce Orders where the Bulk Update column isn't displaying the checkboxes correctly when Group and compress is enabled. After some research, the problem described on #3040814 β†’ is exactly what I'm experiencing, only I don't use the Views Bulk Operations module.

Proposed resolution

The cause of this is the use-statement for BulkForm in the src/Plugin/views/style/Table.php file.

The BulkForm is being imported as Drupal\system\Plugin\views\field\BulkForm, while this should be Drupal\views\Plugin\views\field\BulkForm. Because of this, the functionality that processes the checkboxes isn't being triggered (see line 615 - 625 in src/Plugin/views/style/Table.php).

The included patch fixes that use-statement.

πŸ› Bug report
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡§πŸ‡ͺBelgium michaelsoetaert

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

Comments & Activities

Production build 0.71.5 2024