[ZBX-9013] exchanging operations in an action results in "Incorrect action operationid." Created: 2014 Nov 10 Updated: 2017 May 30 Resolved: 2015 Jan 26 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Frontend (F) |
Affects Version/s: | 2.2.7, 2.4.2 |
Fix Version/s: | 2.2.9rc1, 2.4.4rc1, 2.5.0 |
Type: | Incident report | Priority: | Major |
Reporter: | Aleksandrs Saveljevs | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 0 |
Labels: | actions, operations | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: | incorrect-operationid.png | ||||||||
Issue Links: |
|
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:
|
Comments |
Comment by Aleksandrs Saveljevs [ 2014 Nov 12 ] |
Same error is shown when we change media type for both of these operations. |
Comment by Alexander Vladishev [ 2014 Nov 12 ] |
No error messages are displayed in 2.4 branch, but one operation was silently deleted while saving changes. |
Comment by Alexander Vladishev [ 2014 Nov 12 ] |
Works fine in latest 2.0 r50568. |
Comment by Krists Krigers (Inactive) [ 2014 Nov 14 ] |
Fixed in r50626, branch svn://svn.zabbix.com/branches/dev/ZBX-9013 (copy of branches/2.4). |
Comment by Krists Krigers (Inactive) [ 2014 Nov 20 ] |
For 2.2 fixed in r50705, branch svn://svn.zabbix.com/branches/dev/ZBX-9013-22. |
Comment by Aleksandrs Saveljevs [ 2014 Dec 04 ] |
(1) It should be checked whether the fix also solves iivs Checked. It solves the duplicate issue. |
Comment by richlv [ 2014 Dec 05 ] |
(2) moved (1) from iivs Issue is also fixed. CLOSED. |
Comment by Ivo Kurzemnieks [ 2015 Jan 09 ] |
Incorrect sorting happens do to bug in PHP function uasort(). See https://bugs.php.net/bug.php?id=53341 |
Comment by Ivo Kurzemnieks [ 2015 Jan 10 ] |
Provided different fix for 2.2 in svn://svn.zabbix.com/branches/dev/ZBX-9013-22 r51493 |
Comment by Ivo Kurzemnieks [ 2015 Jan 26 ] |
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 |
Comment by Ivo Kurzemnieks [ 2015 Jan 26 ] |
Fixed in:
|
Comment by Alexander Vladishev [ 2015 Jan 26 ] |
(4) No string changes. CLOSED |