[ZBX-4821] Mass update: flexible intervals was updated with an unchecked checkbox Created: 2012 Apr 02  Updated: 2017 May 30  Resolved: 2012 Apr 02

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.0rc2
Fix Version/s: 2.0.0rc3

Type: Incident report Priority: Critical
Reporter: Alexander Vladishev Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: massupdate
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

How to reproduce:

  • in an items list select few items
  • select Mass update and click Go
  • select Flexible intervals
  • add new Flexible intervals
  • uncheck Flexible intervals
  • click Update

Debug info:

UPDATE items SET delay_flex='50/1-7,00:00-24:00', itemid='22192', flags='0', key_='trap5', hostid='10047', interfaceid=NULL WHERE (itemid IN ('22192'))
...
UPDATE items SET delay_flex='50/1-7,00:00-24:00', itemid='22193', flags='0', key_='trap6', hostid='10047', interfaceid=NULL WHERE (itemid IN ('22193'))
...



 Comments   
Comment by richlv [ 2012 Apr 02 ]

do we also have to set key and other fields in this case ?

<Vedmak> not really, but it's general API problem.

Comment by Alexey Fukalov [ 2012 Apr 02 ]

dev branch: svn://svn.zabbix.com/branches/dev/ZBX-4821

Comment by Alexander Vladishev [ 2012 Apr 02 ]

(1) Cannot clear flexible intervals by using a Mass update form

<Vedmak> RESOLVED
<Sasha> CLOSED

Comment by Alexander Vladishev [ 2012 Apr 02 ]

Successfully tested! Please review my changes in r26554.

Comment by Alexey Fukalov [ 2012 Apr 03 ]

svn://svn.zabbix.com/trunk 26560

Generated at Sat Apr 27 06:32:02 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.