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

Addressee, Email and Postal Greetings import - improve the error messages and make sure all import error messages are localized

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.1
    • Fix Version/s: 3.1
    • Component/s: Core CiviCRM
    • Labels:
      None

      Description

      Exported a contact with default Addressee, Email Greeting and Postal Greeting - and then tried to re-import.

      Invalid value for field(s) : Addressee; Email Greeting; Postal Greeting
      value for Addressee = Mrs Monica T Grant Sr
      value for both Greetings = Dear Monica

      We require that these three fields use the option labels configured for the site - so you can't actually import the evaluated, exported values. You need to use values like this:
      'Dear

      {contact.individual_prefix}

      {contact.last_name}

      '

      I've updated the error messages to make this clear:
      'Email Greeting must be one of the configured format options. Check Administer >> Option Lists >> Email Greetings for valid values'

      Also, none of the error messages for various Parser errors were localized. Added ts('') around them.

        Attachments

          Activity

            People

            • Assignee:
              kiran.jagtap Kiran Jagtap
              Reporter:
              dgg David Greenberg
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: