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

Expand api wrapper constant handling

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Trivial
    • Resolution: Fixed/Completed
    • Affects Version/s: 4.3.0
    • Fix Version/s: 4.3.0
    • Component/s: None
    • Labels:
      None

      Description

      This fix means that any field for which 'getoptions' work will do api wrapper layer conversion of label to id

      e.g financial_type_id = 'Donation' will be converted to financial_type_id=1 at the api wrapper layer

      Note that the application of CRM_Utils_Rule is still not being applied but fields where options are defined & not met are not being accepted. No test regression from this.

        Attachments

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: