Actions & WorkflowDefaultWidget~massageFormValues()~getEntity() undefined method

Created on 12 January 2024, 6 months ago
Updated 28 February 2024, 4 months ago

Problem/Motivation

Content View > Action: Modify field values throws this error:
Error: Call to undefined method Drupal\views_bulk_operations\Form\ConfigureAction::getEntity() in Drupal\workflow\Plugin\Field\FieldWidget\WorkflowDefaultWidget->massageFormValues() (line 129 of modules/contrib/workflow/src/Plugin/Field/FieldWidget/WorkflowDefaultWidget.php).

Steps to reproduce

Content View > Action: Modify field values; try to alter field values

Proposed resolution

Apply the following patch to remove the unneeded call to the getEntity() method.

Remaining tasks

Add patch file

User interface changes

None

API changes

Only what is in the patch

Data model changes

None

πŸ› Bug report
Status

Fixed

Version

1.7

Component

Workflow Field API

Created by

πŸ‡¨πŸ‡¦Canada tenden

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

Comments & Activities

Production build 0.69.0 2024