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

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 69 (Oct 2020)
    • Story Points:
      0.25

      Description

      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. 

       

       

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: