Problem/Motivation

So far I've only observed this error when using Webform with Config Entity Revisions, but the code in question doesn't look to see if the index in question is actually set before trying to access it, so it seems reasonable to add a check.

Proposed resolution

In the code, check if the '#type' index is set before using it in a comparison.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mandclu created an issue. See original summary.

mandclu’s picture

Assigned: mandclu » Unassigned
Status: Active » Needs review
FileSize
735 bytes

  • mandclu authored 98c2fcd on 8.x-5.x
    Issue #3202126 by mandclu: Undefined index '#type' in WebformActions::...

  • mandclu authored 98c2fcd on 6.x
    Issue #3202126 by mandclu: Undefined index '#type' in WebformActions::...
jrockowitz’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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