ExportXMLWordPrintable

    • Type: Problem report
    • Resolution: Unresolved
    • Priority: Trivial
    • None
    • Affects Version/s: 7.0.30rc1, 7.4.12, 8.0.0rc1 (master)
    • Component/s: Frontend (F)

      Precondition:
      Logged in as Super admin

      Steps to reproduce:

      1. Open
        /zabbix.php?action=popup.action.operation.edit&eventsource=0
        
      1. For comparison open
        /zabbix.php?action=popup.condition.edit&eventsource=0
        

      Result: Step 1 gives a blank page (HTTP 200) with runtime errors:

      Undefined array key "recovery" [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> CController->run() -> CControllerPopupActionOperationEdit->checkInput() -> CControllerPopupActionOperationEdit->validateInputConstraints() -> CController->getInput() -> CConfigFile->{closure}() in include/classes/mvc/CController.php:353]
      Undefined array key "eventsource" [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:25]
      Undefined array key "recovery" [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:26]
      Undefined array key "operation" [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:32]
      Trying to access array offset on null [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:34]
      Trying to access array offset on null [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:34]
      Trying to access array offset on null [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:36]
      Undefined array key "operation_types" [zabbix.php:17 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.edit.php:39]
      TypeError: count(): Argument #1 ($value) must be of type Countable|array, null given in /home/zabbix/workspace/7.0/ui/app/views/popup.operation.edit.php:39
      Stack trace:
      #0 /home/zabbix/workspace/7.0/ui/include/classes/mvc/CView.php(128): include()
      #1 /home/zabbix/workspace/7.0/ui/include/classes/core/ZBase.php(729): CView->getOutput()
      #2 /home/zabbix/workspace/7.0/ui/include/classes/core/ZBase.php(644): ZBase->processResponseFinal()
      #3 /home/zabbix/workspace/7.0/ui/include/classes/core/ZBase.php(228): ZBase->processRequest()
      #4 /home/zabbix/workspace/7.0/ui/include/config.inc.php(20): ZBase->run()
      #5 /home/zabbix/workspace/7.0/ui/zabbix.php(17): require_once('...')
      #6 {main}
      

      For comparison step 2 returns fatal error:

      Passing both parameters /zabbix.php?action=popup.action.operation.edit&eventsource=0&recovery=0 returns the popup JSON

      Expected: A fatal error listing the mandatory fields should appear.

            Assignee:
            Zabbix Development Team
            Reporter:
            Kirils Seve
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: