Warning: Undefined array key 0 in Drupal\workflow\Plugin\Action\WorkflowStateActionBase->buildConfigurationForm()

Created on 1 August 2024, 4 months ago
Updated 16 August 2024, 3 months ago

Problem/Motivation

After upgrading from Drupal 10.2.5 to 10.3.1 i see the warning when trying to "load" an action plugin e.g. with ECA.

Warning: Undefined array key 0 in Drupal\workflow\Plugin\Action\WorkflowStateActionBase->buildConfigurationForm() (line 199 of /opt/drupal/web/modules/contrib/workflow/src/Plugin/Action/WorkflowStateActionBase.php)

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Needs review

Version

1.8

Component

Code

Created by

🇩🇪Germany fox_01

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

Comments & Activities

  • Issue created by @fox_01
  • Status changed to Needs review 3 months ago
  • 🇮🇳India sarwan_verma

    Hi,
    I have resolved the 'Undefined array key' issue and attached the patch.
    Please review it.
    Thanks!

Production build 0.71.5 2024