Details
-
Type:
Problem report
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 3.4.7
-
Fix Version/s: 3.4.8rc1, 4.0.0alpha5, 4.0 (plan)
-
Component/s: API (A)
-
Labels:
-
Team:Team B
-
Sprint:Sprint 29
-
Story Points:0.25
Description
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]
Attachments
Issue Links
- caused by
-
ZBXNEXT-18 Send an alert after trigger being acknowledged
-
- Closed
-