[ZBX-15156] Undefined offset error when viewing templated screen with web-monitoring item Created: 2018 Nov 12  Updated: 2019 Jan 05  Resolved: 2019 Jan 05

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 3.0.23, 4.0.2rc1
Fix Version/s: 3.0.25rc1, 4.0.4rc1, 4.2.0alpha3, 4.2 (plan)

Type: Problem report Priority: Major
Reporter: Oleksii Zagorskyi Assignee: Mārtiņš Tālbergs (Inactive)
Resolution: Fixed Votes: 0
Labels: templatedscreens, webmonitoring
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
Team: Team B
Sprint: Sprint 47, Dec 2018
Story Points: 0.5

 Description   

Create a template with a web scenario and create templated screen on the template.
Add "Simple graph" resource on the screen and select an item of the web scenario.
Link the template to a screen.

View the templated screen on the host (host_screen.php?hostid=10261) and observe errors:

on 3.0.23

Undefined offset: 24777 [host_screen.php:97 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTemplateScreen->get() in include/classes/api/services/CTemplateScreen.php:426]
Undefined offset: 10172 [host_screen.php:97 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTemplateScreen->get() in include/classes/api/services/CTemplateScreen.php:427]

on 4.0.1:

Undefined offset: 28500 [host_screen.php:90 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTemplateScreen->get() in include/classes/api/services/CTemplateScreen.php:423]
Undefined offset: 10261 [host_screen.php:90 → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CTemplateScreen->get() in include/classes/api/services/CTemplateScreen.php:424]


 Comments   
Comment by Mārtiņš Tālbergs (Inactive) [ 2018 Dec 07 ]

FIXED in development branch svn://svn.zabbix.com/branches/dev/ZBX-15156

Comment by Valdis Murzins [ 2019 Jan 03 ]

Fixed in:

  • 3.0.25rc1 in r88208, r88211
  • 4.0.4rc1 in r88209, r88212
  • 4.2.0alpha3 (trunk) in r88210, r88213
Generated at Fri Mar 29 00:03:35 EET 2024 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.