Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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...
Comment | File | Size | Author |
---|---|---|---|
#2 | webform_workflow-2617606-2.patch | 507 bytes | natew |
Comments
Comment #2
natew CreditAttribution: natew commentedPatch attached.
Comment #3
natew CreditAttribution: natew commentedSorry assigned this to the wrong project. Should be weform_workflow.
Comment #4
TLTHades CreditAttribution: TLTHades commentedI also got this error. This patch works, thanks.
Comment #5
kenorb CreditAttribution: kenorb commentedComment #7
pjcdawkins CreditAttribution: pjcdawkins commentedCommitted - thanks