[ZBX-4736] Host Inventories -> Undefined variable: paging [hostinventories.php:261] Created: 2012 Mar 07  Updated: 2017 May 30  Resolved: 2012 Mar 12

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

Type: Incident report Priority: Minor
Reporter: Kenneth Palmertree Assignee: Unassigned
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

CentOS 6.2
Zabbix 1.9.10 Build 25810



 Description   

If a user clicks on "Inventory" -> "Host" the following message error occurs if no host are defined on a DM node:
Undefined variable: paging [hostinventories.php:261]



 Comments   
Comment by Alexander Vladishev [ 2012 Mar 07 ]

Confirmed in a latest trunk r25876

Comment by Toms (Inactive) [ 2012 Mar 08 ]

Fixed in dev. branch: svn://svn.zabbix.com/branches/dev/ZBX-4736

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 08 ]

(1) After a glimpse of the code the $pageFilter is incorrectly initialized in hostinventories.php with a DM setup. Please, have a closer look to make sure it works correctly.

<Toms> RESOLVED in r.25971

<pavels> CLOSED.

Comment by Pavels Jelisejevs (Inactive) [ 2012 Mar 12 ]

TESTED.

Comment by Alexander Vladishev [ 2012 Mar 13 ]

(2) page bar is absent if the group isn't chosen

<Toms> RESOLVED in r26107
<Sasha> CLOSED

Comment by Toms (Inactive) [ 2012 Mar 19 ]

Fixed in 2.0.0rc2 r26153

Generated at Fri Apr 26 16:34:07 EEST 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.