[ZBX-9809] Incorrect action operations validation Created: 2015 Aug 24  Updated: 2017 May 30  Resolved: 2015 Aug 27

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.15, 2.2.10, 2.4.6, 3.0.0alpha2
Fix Version/s: 2.0.16rc1, 2.2.11rc1, 2.4.7rc1, 3.0.0alpha2

Type: Incident report Priority: Minor
Reporter: Gunars Pujats (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: actions, frontend, operations
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Steps to reproduce:
1. In Configuration -> Actions -> Operations create new operation with type one of: Enable host, Disable host, Add host, Remove host.
2. Save and open to edit.
3. Save without changes.

System shows error message:

Operation "<operation type>" already exists.



 Comments   
Comment by Gunars Pujats (Inactive) [ 2015 Aug 24 ]

(1) No translation strings changed.

sasha CLOSED

Comment by Gunars Pujats (Inactive) [ 2015 Aug 24 ]

RESOLVED in development branch svn://svn.zabbix.com/branches/dev/ZBX-9809

Comment by Alexander Vladishev [ 2015 Aug 26 ]

(2) The solution does not works. "Operation "<operation type>" already exists." still present after an operation updating.

gunarspujats RESOLVED in r55151.

sasha 64bit IDs must be compared by using bcmath library.

REOPENED

gunarspujats RESOLVED in r55159.

CLOSED

Comment by Alexander Vladishev [ 2015 Aug 26 ]

(3) Coding style: please do not use conditions in the Yoda-style

if (1 < $uniqOperations[$new_operation['operationtype']])

gunarspujats RESOLVED in r55151.

sasha CLOSED

Comment by Gunars Pujats (Inactive) [ 2015 Aug 26 ]

Released in :

  • pre-3.0.0alpha2 r55172
  • pre-2.4.7rc1 r55171
  • pre-2.2.11rc1 r55167
  • pre-2.0.16rc1 r55161
Generated at Sat Apr 27 06:13:10 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.