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

Unable to create a contribution after migration - msg: Please set a location type of Billing

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.4.4
    • Fix Version/s: 3.4.6
    • Component/s: CiviContribute
    • Labels:
      None

      Description

      I have migrated my site from CiviCRM 3.3.5 to 3.4.4 and i got the following error message :
      French version of "Please set a location type of Billing". After a few research, i found in the code that it was looking for the french translation of Billing in the table civicrm_location_type.
      To fix the problem, i have updated the string in the database (there is no way to do so in the interface) : update civicrm_location_type set name = 'Facturation' where name = 'Billing';

      2 things :

      • it should verify the id instead of the string to avoid this kind of problems
      • for now, we should update the database in the migration process

      Not sure however what version is affected.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                erikhommel Erik Hommel
                Reporter:
                samuelsov Samuel Vanhove
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: