If you have a profile field of type selection with allowed values of "Male" and "Female" but your csv file has "male" and "female" the profile module won't know what to do. This patch matches the lowercase values of your csv file with the lowercase allowed values therefore allowing your data to be case insensitive.

This could probably be a configuration option per import if someone wants to implement it. Also I'm open to a more efficient way of achieving this, regular expressions perhaps?

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gisle’s picture

Issue summary: View changes
Status: Needs review » Closed (outdated)

IMHO, the data should be imported unchanged. It is up to person preparing the data to make sure they're in the right format. Changing data during import only bloats the project.

Closing as outdated.