- Issue created by @effortDee
- Status changed to Postponed: needs info
over 1 year ago 11:39am 29 September 2023 - 🇵🇱Poland Graber
This normally does not happen. Please start from a clean Drupal instance with VBO and provide steps to reproduce.
- Status changed to Active
over 1 year ago 10:56pm 22 October 2023 - 🇦🇺Australia mstrelan
Steps to reproduce:
- Install Drupal 10.2.x with standard profile
- Install VBO module
- Edit content view at /admin/structure/views/view/content
- Add views bulk operations to the table
- Create one node
- Attempt to delete the node via vbo
- 🇦🇺Australia mstrelan
FWIW the issue seems to be that we need to delete the default "Node bulk operation form" from core. This could be "works as designed" but maybe we could detect the problem and prevent the WSOD?
- 🇵🇱Poland Graber
Well it doesn't make any sense to have both fields on any view.
We could add a warning message and disallow saving the view as already done in core in case of some other configurations. - Status changed to Needs review
over 1 year ago 3:53pm 24 October 2023 - last update
over 1 year ago 15 pass - 🇵🇱Poland ad0z
@Graber I've attached patch which adds
validate
function toviews_bulk_operations_bulk_form
ViewsField
. It prevents view to be saved when VBO's and core's operations are added in the same view display, it shows this error message when one of them is added, and another one is there already as well.