[ZBX-11877] Undefined index in screens Created: 2017 Mar 07 Updated: 2024 Apr 10 Resolved: 2017 Mar 29 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A), Frontend (F) |
Affects Version/s: | 3.2.4, 3.4.0alpha1 |
Fix Version/s: | 3.2.5rc1, 3.4.0alpha1 |
Type: | Incident report | Priority: | Trivial |
Reporter: | Oleg Egorov (Inactive) | Assignee: | Unassigned |
Resolution: | Fixed | Votes: | 3 |
Labels: | screen, undefinedindex | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Attachments: |
![]() |
||||||||
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 3, Sprint 4 | ||||||||
Story Points: | 1 |
Description |
Moved from example.org/zabbix/screens.php Undefined index: lastEvent [screens.php:147 ? CView->render() ? include() ? CScreenBuilder->show() ? CScreenHostgroupTriggers->get() ? make_latest_issues() ? make_popup_eventlist() in include/events.inc.php:441] example.org/zabbix/zabbix.php?action=dashboard.view Undefined index: lastEvent [zabbix.php:21 ? require_once() ? ZBase->run() ? ZBase->processRequest() ? CView->getOutput() ? include() ? make_latest_issues() ? make_popup_eventlist() in include/events.inc.php:441] Problem introduced in r64769 |
Comments |
Comment by Andrew Baker [ 2017 Mar 07 ] |
Same problem here, just did an in place upgrade Dashboard: Undefined index: lastEvent [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441] Undefined index: lastEvent [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CView->getOutput() → include() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441] Custom Screens: Undefined index: lastEvent [screens.php:147 → CView->render() → include() → CScreenBuilder->show() → CScreenHostgroupTriggers->get() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441] Undefined index: lastEvent [screens.php:147 → CView->render() → include() → CScreenBuilder->show() → CScreenHostgroupTriggers->get() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441] Just upgraded from zabbix_server (Zabbix) 3.0.2 to 3.2.4zabbix_server (Zabbix) 3.2.4 |
Comment by Dmitry Verkhoturov [ 2017 Mar 08 ] |
I guess this might happen when event data is deleted due to housekeeper settings, so we have trigger in PROBLEM state with PROBLEM event already deleted. |
Comment by Andrew Baker [ 2017 Mar 08 ] |
What information would you like? I rolled back my upgrade, however I can clone the environment and recreate the problem. |
Comment by Andrew Baker [ 2017 Mar 08 ] |
Almost all my triggers have either comment or url fields. They point to our internal KB articles with the fixes, and or give details on what the problem is, why it's happening and what to do to fix it. |
Comment by Gregory Chalenko [ 2017 Mar 10 ] |
Fixed in svn://svn.zabbix.com/branches/dev/ZBX-11877 r66580 |
Comment by Gregory Chalenko [ 2017 Mar 10 ] |
(1) [F] Translation string changes oleg.egorov CLOSED |
Comment by Dmitry Verkhoturov [ 2017 Mar 14 ] |
r66325, problem seems to be still present — I see errors in all places I saw them before. Undefined index: lastEvent [screens.php:147 → CView->render() → include() → CScreenBuilder->show() → CScreenHostgroupTriggers->get() → make_latest_issues() → make_popup_eventlist() in include/events.inc.php:441] Isn't it included in development build? |
Comment by richlv [ 2017 Mar 14 ] |
paskal, it is in the development branch mentioned - svn://svn.zabbix.com/branches/dev/ZBX-11877 . to test it, you have to check out that branch some basic instructions on that at http://zabbix.org/wiki/Get_Zabbix |
Comment by Catherine Barry [ 2017 Mar 15 ] |
To confirm above statement I am getting this issue on events that are old and have no events under ack-screenshot attached |
Comment by Natalja Romancaka [ 2017 Mar 27 ] |
Tested |
Comment by Gregory Chalenko [ 2017 Mar 27 ] |
Fixed in:
|