Mark ViewsBulkOperationsBulkForm as workspace-safe

Created on 4 December 2024, 2 months ago

Problem/Motivation

Using Views Bulk Operations with the core Workspaces module is currently incompatible because the ViewsBulkOperationsBulkForm does not implement the WorkspaceDynamicSafeFormInterface, as from
https://www.drupal.org/node/3229111 β†’ .

Steps to reproduce

Enable core workspaces module, access a view using "views_bulk_operations_bulk_form" views field and trigger one selected action.
You should see the following error message: "This form can only be submitted in the default workspace."

Proposed resolution

Update ViewsBulkOperationsBulkForm so it implements WorkspaceDynamicSafeFormInterface .

Remaining tasks

  1. Update Drupal\views_bulk_operations\Form\ConfigureAction and Drupal\views_bulk_operations\Form\ConfirmAction as well ?
  2. Create tests ?
✨ Feature request
Status

Active

Version

4.3

Component

Core

Created by

πŸ‡΅πŸ‡ΉPortugal joao.ramos.costa

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024