Uploaded image for project: 'CiviCRM'
  1. CiviCRM
  2. CRM-18976

Contribution importer does not handle currency symbols

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.7.8
    • Fix Version/s: Unscheduled
    • Component/s: CiviContribute
    • Labels:
      None
    • Versioning Impact:
      Patch (backwards-compatible bug fixes)
    • Documentation Required?:
      None
    • Funding Source:
      Needs Funding

      Description

      If the amount in a column is something like "$25.00", then the import preview shows this value, so you think it will work. However, when the important is actually performed, while there are no errors, all of the amounts preceded by a dollar sign end up being imported as 0.00.

      Either the importer should throw an error (annoying but better than silently doing the wrong thing) or better yet, it should strip currency symbols from the head and tail of the string. I believe that in some countries they commonly use space around the symbol, so that should be stripped too.

        Attachments

          Activity

            People

            • Assignee:
              autarch Dave Rolsky
              Reporter:
              autarch Dave Rolsky
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: