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

Language option in API is ignored

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.7.9
    • Fix Version/s: 4.7.11
    • Component/s: Internationalisation
    • Labels:
      None
    • Documentation Required?:
      None
    • Sprint:
      4.7.10 l10n, 4.7.14 l10n 2
    • Funding Source:
      Contributed Code

      Description

      Back in CRM-11755, Mathieu Lutfy created support for setting "option.language" in APIv3. Thanks Mathieu Lutfy!

      Unfortunately, the Civi 4.7 settings changeover broke this, since it looks for the default language in CRM_Core_DAO_Domain->config_backend. I'm submitting a PR to fix this.

      Is it possible to write tests that assume a multilingual database? I'd be willing to write a test if so...

        Attachments

          Activity

            People

            • Assignee:
              palantejon Jon K Goldberg
              Reporter:
              palantejon Jon K Goldberg
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: