Hi,

I get a WSOD when I try to mass edit fields with the provided option by VBE Module:

Error : Call to undefined method Drupal\views_bulk_operations\Form\ConfigureAction::getEntity() dans Drupal\imagefield_tokens\Plugin\Field\FieldWidget\ImageFieldTokensCropWidget->formElement() (/home/xx/www/xxx/sited8/modules/contrib/imagefield_tokens/src/Plugin/Field/FieldWidget/ImageFieldTokensCropWidget.php ligne 31)

Config:

  • D8.7.7
  • Image Image Field Tokens (imagefield_tokens) 8.x-2.13
  • Views Bulk Operations Views Bulk Edit (views_bulk_edit) 8.x-2.3
  • Views Views Bulk Operations (views_bulk_operations) 8.x-3.2

Hope info will help you.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

aiphes created an issue. See original summary.

sosevich.v’s picture

Version: 8.x-2.13 » 8.x-2.14
Status: Active » Needs review
FileSize
927 bytes

This patch should help you.

ysamoylenko’s picture

Status: Needs review » Reviewed & tested by the community

Hello @sosevich.v,

The patch looks good for me, but I little bit fixed it.

Because we will receive $form_object all time, but sometimes we may haven't 'entity' property inside it.

Anyway, thanks for your help with module development.

The patch will be committed soon.

alunyov’s picture

@sosevich.v,
patch works good to me. Thanks for your efforts!

akyrylenko’s picture

Patch reviewed and works.
Version:8.x-2.14

ysamoylenko’s picture

Status: Reviewed & tested by the community » Fixed

The patch was committed.

Thanks, everyone for your help with module development.

aiphes’s picture

After update to 8.x-2.14, I still get the same error if I wan't to edit a field with the VBO action: Modify Fields values.
Did you try to do the same ?

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.