-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.27, 6.0.9rc1, 6.2.3rc1, 6.4.0alpha1
-
Sprint 92 (Sep 2022)
-
0.25
Steps to reproduce:
Case 1:
- Go to /zabbix.php?action=userprofile.edit
- Open 'Media' tab
- Open 'Media' modal-popup
- The following request is executed: http://localhost/6.0/zabbix.php?sid=06821581555759d8&action=popup.media
- Open the request and check logs
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:
- Go to Administration->Media types->Create media type
- Open 'Message templates' tab
- Open 'Message template' modal-popup
- The following request is executed: http://localhost/6.0/zabbix.php?sid=06821581555759d8&action=popup.mediatype.message
- Open the request and check logs
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]