ZABBIX BUGS AND ISSUES
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-9013

exchanging operations in an action results in "Incorrect action operationid."

    Details

      Description

      Create an action with two operations: one sends a message to user "Admin", another sends a message to group "Zabbix administrators". Save that action, after that edit the first operation to send a message to the group and edit the second operation to send a message to the user. Observe the following error:

        Issue Links

          Activity

          Hide
          Aleksandrs Saveljevs added a comment -

          Same error is shown when we change media type for both of these operations.

          Show
          Aleksandrs Saveljevs added a comment - Same error is shown when we change media type for both of these operations.
          Hide
          Alexander Vladishev added a comment -

          No error messages are displayed in 2.4 branch, but one operation was silently deleted while saving changes.

          Show
          Alexander Vladishev added a comment - No error messages are displayed in 2.4 branch, but one operation was silently deleted while saving changes.
          Hide
          Alexander Vladishev added a comment -

          Works fine in latest 2.0 r50568.

          Show
          Alexander Vladishev added a comment - Works fine in latest 2.0 r50568.
          Hide
          Krists Krigers (Inactive) added a comment -

          Fixed in r50626, branch svn://svn.zabbix.com/branches/dev/ZBX-9013 (copy of branches/2.4).

          Show
          Krists Krigers (Inactive) added a comment - Fixed in r50626, branch svn://svn.zabbix.com/branches/dev/ZBX-9013 (copy of branches/2.4).
          Hide
          Krists Krigers (Inactive) added a comment -

          For 2.2 fixed in r50705, branch svn://svn.zabbix.com/branches/dev/ZBX-9013-22.

          Show
          Krists Krigers (Inactive) added a comment - For 2.2 fixed in r50705, branch svn://svn.zabbix.com/branches/dev/ZBX-9013-22.
          Hide
          Aleksandrs Saveljevs added a comment - - edited

          (1) It should be checked whether the fix also solves ZBX-9110.

          Ivo Kurzemnieks Checked. It solves the duplicate issue.
          CLOSED.

          Show
          Aleksandrs Saveljevs added a comment - - edited (1) It should be checked whether the fix also solves ZBX-9110 . Ivo Kurzemnieks Checked. It solves the duplicate issue. CLOSED.
          Hide
          richlv added a comment - - edited

          (2) moved (1) from ZBX-9110
          in some cases operations may be lost.
          edit an action with two operations with the same steps (like 1-0)
          edit the second operation. sometimes (exact conditions not clear), editing it will rearrange the operations in the list.
          click 'update' for the operation - now both operations are the same

          Ivo Kurzemnieks Issue is also fixed. CLOSED.

          Show
          richlv added a comment - - edited (2) moved (1) from ZBX-9110 in some cases operations may be lost. edit an action with two operations with the same steps (like 1-0) edit the second operation. sometimes (exact conditions not clear), editing it will rearrange the operations in the list. click 'update' for the operation - now both operations are the same Ivo Kurzemnieks Issue is also fixed. CLOSED.
          Hide
          Ivo Kurzemnieks added a comment -

          Incorrect sorting happens do to bug in PHP function uasort(). See https://bugs.php.net/bug.php?id=53341

          Show
          Ivo Kurzemnieks added a comment - Incorrect sorting happens do to bug in PHP function uasort() . See https://bugs.php.net/bug.php?id=53341
          Hide
          Ivo Kurzemnieks added a comment - - edited

          Provided different fix for 2.2 in svn://svn.zabbix.com/branches/dev/ZBX-9013-22 r51493
          If fix is good, the branch svn://svn.zabbix.com/branches/dev/ZBX-9013 will not be used.

          Show
          Ivo Kurzemnieks added a comment - - edited Provided different fix for 2.2 in svn://svn.zabbix.com/branches/dev/ZBX-9013-22 r51493 If fix is good, the branch svn://svn.zabbix.com/branches/dev/ZBX-9013 will not be used.
          Hide
          Ivo Kurzemnieks added a comment - - edited

          Although this fixes the bug, there is still a small inconveniance when operation is being edited. The list is still being re-ordered each time "Update" is clicked on operation (if two operations are the same). I made a separate issue for this sorting problem when editing an operation each time. See ZBX-9252

          Show
          Ivo Kurzemnieks added a comment - - edited Although this fixes the bug, there is still a small inconveniance when operation is being edited. The list is still being re-ordered each time "Update" is clicked on operation (if two operations are the same). I made a separate issue for this sorting problem when editing an operation each time. See ZBX-9252
          Hide
          Ivo Kurzemnieks added a comment -

          Fixed in:

          • pre-2.2.9rc1 r51826
          • pre-2.4.4rc1 r51827
          • pre-2.5.0 (trunk) r51828
          Show
          Ivo Kurzemnieks added a comment - Fixed in: pre-2.2.9rc1 r51826 pre-2.4.4rc1 r51827 pre-2.5.0 (trunk) r51828
          Hide
          Alexander Vladishev added a comment -

          (4) No string changes.

          CLOSED

          Show
          Alexander Vladishev added a comment - (4) No string changes. CLOSED

            People

            • Assignee:
              Unassigned
              Reporter:
              Aleksandrs Saveljevs
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: