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

Phone API accepts invalid phone_type_id or location_type_id with create function

    Details

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

      Description

      The new Phone API accepts an invalid phone_type_id or location_type_id. Assumption was that the BAO would not accept it and return an error, but it does not.

        Attachments

          Activity

            People

            • Assignee:
              erikhommel Erik Hommel
              Reporter:
              erikhommel Erik Hommel
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1 hour
                1h
                Remaining:
                Remaining Estimate - 1 hour
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified