[ZBX-21605] Undefined index in CControllerPopupMediatypeMessage and CControllerPopupMedia Created: 2022 Sep 07  Updated: 2024 Apr 10  Resolved: 2022 Sep 29

Status: Closed
Project: ZABBIX BUGS AND ISSUES
Component/s: Frontend (F)
Affects Version/s: 5.0.27, 6.0.9rc1, 6.2.3rc1, 6.4.0alpha1
Fix Version/s: 5.0.29rc1, 6.0.10rc1, 6.2.4rc1, 6.4.0beta1, 6.4 (plan)

Type: Problem report Priority: Trivial
Reporter: Kirils Seve Assignee: Alexander Vladishev
Resolution: Fixed Votes: 0
Labels: media, mediatypes, undefinedindex
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Team: Team C
Sprint: Sprint 92 (Sep 2022)
Story Points: 0.25

 Description   

Steps to reproduce:

Case 1:

Result:

Undefined index: dstfrm [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> CControllerPopupMedia->doAction() -> CController->getInput() -> CConfigFile->{closure}() in include/classes/mvc/CController.php:352]

Case 2:

Result:

Undefined index: type [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> CControllerPopupMediatypeMessage->doAction() -> CController->getInput() -> CConfigFile->{closure}() in include/classes/mvc/CController.php:352]
Undefined index: content_type [zabbix.php:22 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> CControllerPopupMediatypeMessage->doAction() -> CController->getInput() -> CConfigFile->{closure}() in include/classes/mvc/CController.php:352]


 Comments   
Comment by Alexander Vladishev [ 2022 Sep 24 ]

Fixed in:

Generated at Thu Nov 06 20:40:55 EET 2025 using Jira 9.12.4#9120004-sha1:625303b708afdb767e17cb2838290c41888e9ff0.