-
Problem report
-
Resolution: Fixed
-
Minor
-
3.4.7
-
Sprint 29
-
0.25
Steps to reproduce:
- create API request:
API::Action()->get([ 'output' => ['actionid', 'name'], 'selectAcknowledgeOperations' => ['operationid', 'recovery'], 'actionids' => 3 ]);
Result:
- incorrect response:
Array ( [0] => Array ( [actionid] => 3 [name] => Report problems to Zabbix administrators [acknowledgeOperations] => Array ( ) ) [1] => Array ( [acknowledgeOperations] => Array ( [0] => Array ( [operationid] => 12 [recovery] => 2 ) ) ) )
- Error message:
Undefined index: actionid [hostgroups.php:65 ? CApiWrapper->__call() ? CFrontendApiWrapper->callMethod() ? CApiWrapper->callMethod() ? CFrontendApiWrapper->callClientMethod() ? CLocalApiClient->callMethod() ? CAction->get() ? CAction->addRelatedObjects() in include/classes/api/services/CAction.php:2043]
- caused by
-
ZBXNEXT-18 Send an alert after trigger being acknowledged
- Closed