I have a file field in my webform. When there is a file in there, it submits the fid to salesforce. Not my ideal behavior but for now I can work with it. However, when there is no file in that field, I get a value of ";;" sent to salesforce. This patch corrects that but checking for an actual array value when salesforcewebform concatenates "subvalues" - so far, no ill effects.

Line numbers might not match up for all, as this was done against 2.x-dev with patches #28 and #29 from #772102: Webform 3.x compatibility applied.

CommentFileSizeAuthor
salesforcewebform_subkey_check.patch512 bytesdafeder

Comments

chriscalip’s picture

Assigned: Unassigned » chriscalip
chriscalip’s picture

Assigned: chriscalip » Unassigned

I cant help out in 2.x branch see: http://drupal.org/node/1092344

obsidiandesign’s picture

Assigned: Unassigned » obsidiandesign
Status: Active » Fixed

Fixed in the 6.x-2.x-dev release as of this evening. Thanks to dafeder for the patch.

Bryan O'Shea

Status: Fixed » Closed (fixed)

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