-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.3
-
Sprint 69 (Oct 2020)
-
0.25
Steps to reproduce:
- Create any item
- Set item preprocessign step validation
- min - not specified
- max - any number
- Test preprocessing
- Test will fail
Such configuration, by specifying only min or max values is allowed and works as expected in Zabbix
Test form crashes with error
Undefined offset: 1 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupItemTestSend->checkInput() → CItemGeneral->validateItemPreprocessingSteps() → CItemGeneral->validateItemPreprocessing() in include/classes/api/services/CItemGeneral.php:1347]Undefined offset: 1 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupItemTestSend->checkInput() → CItemGeneral->validateItemPreprocessingSteps() → CItemGeneral->validateItemPreprocessing() in include/classes/api/services/CItemGeneral.php:1347]Undefined offset: 1 [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerPopupItemTestSend->checkInput() → CItemGeneral->validateItemPreprocessingSteps() → CItemGeneral->validateItemPreprocessing() in include/classes/api/services/CItemGeneral.php:1348]Incorrect value for field "params": a numeric value is expected.