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

4.0.28 Passive to Active Proxie update Error

    XMLWordPrintable

    Details

    • Type: Problem report
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.27, 4.0.28, 5.0.7, 5.0.8
    • Fix Version/s: 4.0.29rc1, 5.0.9rc1, 5.4 (plan)
    • Component/s: API (A)
    • Labels:
      None
    • Team:
      Team B
    • Sprint:
      Sprint 73 (Feb 2021)
    • Story Points:
      0.125

      Description

      Hello!
      Checked proxy update function in 4.0.28 (4.0-latest)
      1. Active to Passive - works fine
      2. Passive to Active - ERROR:

          Trying to access array offset on value of type bool [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerProxyUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CProxy->update() → CHostInterface->delete() → CHostInterface->checkMainInterfacesOnDelete() → CHostInterface->checkMainInterfaces() in include/classes/api/services/CHostInterface.php:816]
          Undefined variable: type [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerProxyUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CProxy->update() → CHostInterface->delete() → CHostInterface->checkMainInterfacesOnDelete() → CHostInterface->checkMainInterfaces() in include/classes/api/services/CHostInterface.php:823]
          Unknown interface type. [zabbix.php:21 → require_once() → ZBase->run() → ZBase->processRequest() → CController->run() → CControllerProxyUpdate->doAction() → CApiWrapper->__call() → CFrontendApiWrapper->callMethod() → CApiWrapper->callMethod() → CFrontendApiWrapper->callClientMethod() → CLocalApiClient->callMethod() → CProxy->update() → CHostInterface->delete() → CHostInterface->checkMainInterfacesOnDelete() → CHostInterface->checkMainInterfaces() → hostInterfaceTypeNumToName() in include/classes/api/services/CHostInterface.php:823]

      Regards,
      Andrey

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              iivs Ivo Kurzemnieks
              Reporter:
              atocko Andrey Tocko
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: