When saving a webform or webform enabled node I got the following notice:

Undefined index: webform_workflow_states in locale_field_entity_form_submit() (line 438 of modules/locale/locale.module).

I noticed that webform_workflow_states was being removed on node edit in webform_workflow_form_node_form_alter. Instead of removing it, I check if the field exists and disable it. The notice doesn't appear anymore. Patch to follow...

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

natew created an issue. See original summary.

natew’s picture

natew’s picture

Project: Webform Template » Webform Workflow

Sorry assigned this to the wrong project. Should be weform_workflow.

TLTHades’s picture

I also got this error. This patch works, thanks.

kenorb’s picture

Status: Active » Needs review

  • pjcdawkins committed d387522 on 7.x-1.x authored by natew
    Issue #2617606 by natew: Saving a webform node notice Undefined index:...
pjcdawkins’s picture

Status: Needs review » Fixed

Committed - thanks

Status: Fixed » Closed (fixed)

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