Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-6668

cannot update action conditions alone

XMLWordPrintable

    • Icon: Incident report Incident report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 2.1.0
    • 2.0.6
    • API (A)

      {"jsonrpc":"2.0","method":"action.update","params":{"actionid":"4","conditions":[

      {"conditiontype":15,"operator":0,"value":"1"}

      ,

      {"conditiontype":15,"operator":0,"value":"3"}

      ]},"auth":"98e183c2503c4dc192285c604bac443d","id":1}

      {"jsonrpc":"2.0","error":

      {"code":-32500,"message":"Application error.","data":"Cannot perform update statement on table \"actions\" without values."}

      ,"id":1}

      apparently this was only caught by the sanity check before messing up the db... updating conditions separate from action properties should work just fine

            Unassigned Unassigned
            richlv richlv
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: