Access to node form with a workflow field crash

Created on 21 February 2025, 2 days ago

The last dev workflow module update (3caa0ec4e3) crash the node form displaying containing a workflow field with this error :
TypeError : Drupal\workflow\Element\WorkflowTransitionElement::updateWidget(): Argument #1 ($haystack) must be of type array, null given, called in web/modules/contrib/workflow/src/Element/WorkflowTransitionElement.php on line 256 in Drupal\workflow\Element\WorkflowTransitionElement::updateWidget() (line 326 of web/modules/contrib/workflow/src/Element/WorkflowTransitionElement.php).

Thanks to correct this issue please.
Regards

🐛 Bug report
Status

Active

Version

1.0

Component

Workflow Field API

Created by

🇫🇷France dcoppel

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

Comments & Activities

  • Issue created by @dcoppel
  • 🇳🇱Netherlands johnv

    Hmm,
    can you share the settings on the page /admin/config/workflow/workflow/TYPE/form-display.?
    And what settings for 'fieldset' and 'How to show the states' doyou have on page /admin/config/workflow/workflow/TYPE

Production build 0.71.5 2024