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

API call to delete tag with IN array fails

    Details

    • Type: Bug
    • Status: Done/Fixed
    • Priority: Minor
    • Resolution: Incomplete
    • Affects Version/s: 4.5.8
    • Fix Version/s: None
    • Component/s: CiviCRM API
    • Labels:
    • Documentation Required?:
      None

      Description

      The following call (formed by API Explorer):
      $result = civicrm_api3('Tag', 'delete', array(
      'id' => array('IN' => array(8, 9)),
      ));

      fails with:

      { "is_error":1, "error_message":"A fatal error was triggered: One of parameters (value: ) is not of the type Positive" }

      Problem confirmed on the demo site.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              bobs0 Bob Silvern
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: