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

Runtime errors observed when configuring Action operations

    XMLWordPrintable

    Details

    • Team:
      Team B
    • Sprint:
      Sprint 63 (Apr 2020), Sprint 64 (May 2020)
    • Story Points:
      0.5

      Description

      Problem #1 description:
      An "Illegal string offset" runtime error is observed when adding a condition to a "Remote command" operation that has already "Host" field populated in "Target list" section.

      Steps to reproduce:

      1. Navigate to Configuration => Actions and press "Create action"
      2. Open "Operations" tab and press "Add" in Operations section
      3. In the opened overlay dialogue set "Operation type" to "Remote command"
      4. In Target list section select any existing host in field "Host"
      5. Press "Add" button in section "Conditions"
      6. Press "Add" in the opened overlay dialogue

      Result: The following runtime error is observed:

      Illegal string offset 'hostid' [zabbix.php:21 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.common.php:322]
      

      Expected: no runtime errors should be observed.

      Problem #2 description:
      An "Undefined index" runtime error is observed when adding a "Set host inventory mode" operation to a Discovery action.

      Steps to reproduce:

      1. Navigate to Configuration => Actions open the list of Discovery actions and press "Create action"
      2. Open "Operations" tab and press "Add" in Operations section
      3. In the opened overlay dialogue set "Operation type" to "Set host inventory mode"
      4. Press "Add" in the operation details overlay dialogue

      Result: The following runtime error is observed:

      Undefined index: opinventory [zabbix.php:21 -> require_once() -> ZBase->run() -> ZBase->processRequest() -> ZBase->processResponseFinal() -> CView->getOutput() -> include() -> CConfigFile->{closure}() in app/views/popup.operation.common.php:642]
      

      Expected: no runtime errors should be observed.

        Attachments

          Activity

            People

            Assignee:
            talbergs Mārtiņš Tālbergs
            Reporter:
            solonkins Sergejs Olonkins
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: