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

"version" in API v3 domain is ambiguous

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Major
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.2.7
    • Fix Version/s: 4.3.0
    • Component/s: CiviCRM API
    • Labels:
      None

      Description

      API version and domain version have the same key which is problematic when doing a domain update from the api.

      When doing the following, the civicrm_domain.version is updated and set to '3'.
      $results = civicrm_api("Domain", "update", array(version => '3', 'id' => 1, 'config_backend' => ...);

      Can we change the key to something like domain_version or otherwise forbid the change of domain version from the api.

        Attachments

          Activity

            People

            • Assignee:
              eileen Eileen McNaughton
              Reporter:
              samuelsov Samuel Vanhove
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: