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

Individual prefix set to incorrect language on multlingual

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 3.3.6
    • Fix Version/s: 3.4.1
    • Component/s: Internationalisation
    • Labels:
      None

      Description

      Background here: http://forum.civicrm.org/index.php/topic,19390.0.html

      In essence the problem is that the triggers cycle through all enabled languages setting @prefix to the appropriate value, ending with @prefix set as the last value, and then the triggers update all languages to that last value.

      Instead it should be
      foreach language {
      select prefix;
      set displayname;
      }

      Pretty simple to fix. Will fix with Piotr soon hopefully.

      As well as needing to fix the bug, would be good to find out a way of calling createTriggerQueries outside of enabling multiligual / upgrading to cater for this situation.

        Attachments

          Activity

            People

            • Assignee:
              michaelmcandrew Michael McAndrew
              Reporter:
              michaelmcandrew Michael McAndrew
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: