-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.2.5, 5.2.6, 5.4.0beta1, 5.4.0beta2
-
Sprint 75 (Apr 2021), Sprint 76 (May 2021), Sprint 77 (Jun 2021)
-
0.125
Session manipulations (like cookie deletion) can cause runtime errors in Frontend:
Error: Unsupported operand types in ui/include/classes/helpers/CSettingsHelper.php:99 Stack trace: #0 ui/include/classes/helpers/CConfigGeneralHelper.php(47): CSettingsHelper::loadParams() #1 ui/app/controllers/CControllerNotificationsGet.php(32): CConfigGeneralHelper::get() #2 ui/include/classes/mvc/CController.php(64): CControllerNotificationsGet->init() #3 ui/include/classes/core/ZBase.php(515): CController->__construct() #4 ui/include/classes/core/ZBase.php(211): ZBase->processRequest() #5 ui/include/config.inc.php(25): ZBase->run() #6 ui/zabbix.php(22): require_once('...') #7 {main}
Code should be made failproof. There should be validation of input data and no runtime errors.