On navigating to a webforms Salesforce Settings tab, I get the following notice:

Notice: Undefined index: mandatory in webform_salesforce_configure_form() (line 57 of /path/to/site/sites/all/modules/contrib/webform_salesforce/webform_salesforce.admin.inc).

The number of notices displayed is related to the number of form fields in the webform.

The issue seems to stem from the fact that the Webform renamed a field in the database from "mandatory" to "required" and Webform Salesforce is still referencing the old name.

Comments

nonsie’s picture

Status: Active » Postponed (maintainer needs more info)

Which version of Webform are you using?

iwhitcomb’s picture

I'm seeing this with Webform 7.x-4.6. The "(required)" field mappings also don't have any options for me to map.

iwhitcomb’s picture

This ought to fix the problem

nonsie’s picture

Thanks for the patch. Totally makes sense why you ran into it as I wrote the code for 7.x-3.x branch. I will create a different branch to support Webform 7.x-4.x going forward.

nonsie’s picture

Version: 7.x-1.x-dev » 7.x-2.x-dev

  • nonsie committed 38277ba on 7.x-2.x authored by iwhitcomb
    Issue #2414371 by iwhitcomb: Undefined index on Salesforce Settings page
    
nonsie’s picture

Assigned: tandroid » Unassigned
Status: Postponed (maintainer needs more info) » Fixed
nonsie’s picture

Status: Fixed » Closed (fixed)