[ZBX-6211] Errors in Monitoring->discovery Created: 2013 Feb 04  Updated: 2017 May 30  Resolved: 2013 Feb 04

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 2.0.5rc1
Fix Version/s: 2.0.5rc1, 2.1.0

Type: Incident report Priority: Minor
Reporter: Oleg Egorov (Inactive) Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

I have Discovery with id, for example = 1
In Monitoring->Discovery all was ok, but after deleting it in Configuration->Discovery (second tab in my browser).
I have errors in my first tab (Monitoring->Discovery)

Undefined offset: 1 [include\views\monitoring.discovery.php:74]
reset() expects parameter 1 to be array, null given [include\views\monitoring.discovery.php:78]
Array to string conversion [include\views\monitoring.discovery.php:123]

link: discovery.php?sid=f14760ea9744640f&fullscreen=0&druleid=1



 Comments   
Comment by Oleg Egorov (Inactive) [ 2013 Feb 04 ]

To reproduce this issue need:
2+ discovery rules (with data)!

Comment by Oleg Egorov (Inactive) [ 2013 Feb 04 ]

FIXED IN svn://svn.zabbix.com/branches/dev/ZBX-6211 r33395

Comment by Alexander Vladishev [ 2013 Feb 05 ]

Successfully tested! Please review my changes in r33404.

Comment by Oleg Egorov (Inactive) [ 2013 Feb 05 ]

FIXED IN 2.1.0(trunk) r33406, 2.0.5rc1 r33405

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