-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.27, 4.0.28, 5.0.7, 5.0.8
-
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
- caused by
-
ZBX-18163 host.massremove allows to remove single existing host interface
- Closed