JacksonRiver/springboard_modules — pull request #104 by benclark (2012-07-31 18:02:03+00:00)
Title: Trim the whitespace on the submitted email value

Trim the whitespace on the submitted email value to prevent issues with upserts and field-level validation. Trimming in fundraiser and in webform_user.

Here's what I think was going on:

1. User submits an email address with a trailing whitespace character
2. Webform_user creates new user with trailing whitespace character
3. Salesforce sync requests an upsert
4. Salesforce's upsert logic says "no matching email, go for 'create'"
5. Salesforce's **field-level validation** says, "matching email, error!"
6. User object fails and is placed into retry_queue/perm_failure/etc.