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

    • Icon: Problem report Problem report
    • Resolution: Fixed
    • Icon: Minor Minor
    • 4.0.29rc1, 5.0.9rc1, 5.4 (plan)
    • 4.0.27, 4.0.28, 5.0.7, 5.0.8
    • API (A)
    • None
    • Sprint 73 (Feb 2021)
    • 0.125

      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

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

              Created:
              Updated:
              Resolved: