-
Problem report
-
Resolution: Fixed
-
Minor
-
4.0.3, 4.2.0alpha2
-
Sprint 47, Dec 2018, Sprint 48, Jan 2019
-
0.125
Steps to reproduce:
- send API request, witch cause circular dependency
{
"jsonrpc":"2.0",
"method":"map.update",
"params":{
"sysmapid":"10001",
"selements":[
{
"elementtype":"1",
"elements":[
{"sysmapid":"10001"}
]
}
]
},
"id":0,
"auth":"*************************"
}
Result:
Undefined index: label [api_jsonrpc.php:63 -> CJsonRpc->execute() -> CLocalApiClient->callMethod() -> call_user_func_array() -> CMap->update() -> CMap->validateUpdate() -> CMap->validateCircularReference() -> CConfigFile->{closure}() in include/classes/api/services/CMap.php:1488]