Download & Extend

Check for subvalue before adding to string (prevent ";;" values)

Project:Salesforce Webform Data Integration
Version:6.x-2.x-dev
Component:Code
Category:bug report
Priority:minor
Assigned:obsidiandesign
Status:closed (fixed)

Issue Summary

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.

AttachmentSize
salesforcewebform_subkey_check.patch512 bytes

Comments

#1

Assigned to:Anonymous» chriscalip

#2

Assigned to:chriscalip» Anonymous

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

#3

Assigned to:Anonymous» 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

#4

Status:fixed» closed (fixed)

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

nobody click here