VBO and Draggable views

Created on 19 October 2023, 8 months ago
Updated 10 December 2023, 7 months ago

Problem/Motivation

It seems like creating a view with both: VBO and Draggable view fields, stops VBO from working. Tested on clear Drupal 9.5.11 version

Steps to reproduce

1. Install https://www.drupal.org/project/views_bulk_operations β†’
2. Install https://www.drupal.org/project/draggableviews β†’
3. Create view displaying any type of content (nodes for example) with Page as a format
4. Add Draggableviews field to the fields
5. Add "View Bulk operations" field to fields with any actions (for example "publish" and "unpublish")
6. Go to your view.
7. Select at least one position and try to apply action.
8. Website returns "The website encountered an unexpected error. Please try again later."

Dblog shows:
First message:
Warning: Undefined array key 1 in Drupal\views\Plugin\views\field\BulkForm->viewsFormSubmit() (line 385 of /code/web/core/modules/views/src/Plugin/views/field/BulkForm.php)

Second message:
TypeError: base64_decode(): Argument #1 ($string) must be of type string, array given in base64_decode() (line 515 of /code/web/core/modules/views/src/Plugin/views/field/BulkForm.php)

I saw issues for something similar in 7.x, but it seems like the same conflict appears in D8 and above

πŸ› Bug report
Status

Closed: won't fix

Version

4.2

Component

Core

Created by

πŸ‡΅πŸ‡±Poland besek

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

Comments & Activities

Production build 0.69.0 2024