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

API validation is too aggressive on case sensitivity

    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

      string validation is rejecting fields that should be acceptable - e.g 'pledge.create frequency_unit = 'Month' is rejected because the enum value in the schema is 'month'. This is a regression.

      Note that the validation should 'err on the side of leniency like a baby-boomer parent'

        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: