The state and country conversion plugins in this module are a great feature, but it seems kind of silly that if the input data is already using the correct country code or state abbreviation, the plugin will remove the data rather than just letting it go.

In other words, currently these plugins will allow "United States" and "Maryland" (and convert them to "US" and "MD" for you) but reject "US" and "MD" themselves. I think they should allow both.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

David_Rothstein’s picture

Status: Active » Needs review
FileSize
1.09 KB

Here is a patch.

  • twistor committed 12b76c3 on 7.x-1.x
    Issue #2194583 by David_Rothstein: Added State and country plugins...
twistor’s picture

Status: Needs review » Fixed

Seems useful for handling funky data.

Status: Fixed » Closed (fixed)

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