Uploaded image for project: 'ZABBIX BUGS AND ISSUES'
  1. ZABBIX BUGS AND ISSUES
  2. ZBX-18396

Test item fails if only maximum value specified

XMLWordPrintable

    • Sprint 69 (Oct 2020)
    • 0.25

      Steps to reproduce:

      1. Create any item
      2. Set item preprocessign step validation 
        1. min - not specified
        2. max - any number
      3. Test preprocessing
      4. 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. 

       

       

        1. image-2020-09-22-13-36-43-301.png
          40 kB
          Kaspars Mednis
        2. image-2020-09-22-13-36-55-278.png
          13 kB
          Kaspars Mednis

            iivs Ivo Kurzemnieks
            kaspars.mednis Kaspars Mednis
            Team B
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: