Problem/Motivation
VBO released a new version 23 Sept which cause a fatal error.
Declaration of Drupal\views_bulk_edit\Plugin\Action\ModifyEntityValues::buildPreConfigurationForm(array $form, array $values, Drupal\Core\Form\FormStateInterface $form_state) must be compatible with Drupal\views_bulk_operations\Action\ViewsBulkOperationsPreconfigurationInterface::buildPreConfigurationForm(array $element, array $values, Drupal\Core\Form\FormStateInterface $form_state): array
Steps to reproduce
Update VBO, view a previously working view page with the bulk edit now has errors.
Proposed resolution
Match the method to the intereface
Remaining tasks
User interface changes
None
API changes
None
Data model changes
None
Issue fork views_bulk_edit-3311552
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
pookmish commentedComment #4
rajab natshahThe MR fix is working :)
Thank you, Mike for filing the issue and the MR
Hoping that this fix is merged soon and the quick fix is released.
Comment #5
marassa commentedWorks for me, thanks for the fix!
Comment #6
graber commentedYes, type hint was added. Best to solve this on VBE as we'd have to do it eventually anyway.
Thanks all!
Comment #8
graber commentedFixed along with unrelated automated tests issue. Will release at the end of the week in case there are other issues discovered.
Comment #9
dercheffePlease release it asap. It's also blocking cron run
Comment #10
rajab natshahThank you, Marcin for the clean commit fix.
Philipp, Thanks for the extra tip on issues with
cron jobsNot sure if that affect search API and indexing too.
Having one extra testing round.
composer.jsonfileComment #11
heddnNo further issues encountered. Might be a good time for a release.
Comment #12
graber commentedThought I forgot but it's there: https://www.drupal.org/project/views_bulk_edit/releases/8.x-2.7