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

    • Incident report
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 2.4.5, 3.0.0alpha3
    • 3.2.0alpha1
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: