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

Cannot perform action update method in API with only "actionid" property

    XMLWordPrintable

    Details

    • Type: Incident report
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 2.4.5, 3.0.0alpha3
    • Fix Version/s: 3.2.0alpha1
    • Component/s: API (A)

      Description

      According to documentation action.update method has only one mandatory property "actionid" and other properties are optional.
      Doing such update

      {
          "actionid": "77"
      }
      

      produces an error from DB:
      Cannot perform update statement on table "actions" without values.

      Broken by:
      krists [rev.47383]: A.F.....S. [ZBXNEXT-1133] Add support for custom expressions in action conditions.

        Attachments

          Activity

            People

            Assignee:
            Unassigned
            Reporter:
            iivs Ivo Kurzemnieks
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: