[ZBX-15369] "Undefined index" in map.update API call Created: 2018 Dec 27 Updated: 2024 Apr 10 Resolved: 2019 Jan 09 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | API (A) |
Affects Version/s: | 4.0.3, 4.2.0alpha2 |
Fix Version/s: | 4.0.4rc1, 4.2.0alpha3, 4.2 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Alexander Vladishev | Assignee: | Alexander Vladishev |
Resolution: | Fixed | Votes: | 0 |
Labels: | codequality, maps | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||
Team: | |||||
Sprint: | Sprint 47, Dec 2018, Sprint 48, Jan 2019 | ||||
Story Points: | 0.125 |
Description |
Steps to reproduce:
{ "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] |
Comments |
Comment by Alexander Vladishev [ 2018 Dec 27 ] |
Fixed in development branch svn://svn.zabbix.com/branches/dev/ZBX-15369. |
Comment by Alexander Vladishev [ 2019 Jan 09 ] |
Fixed in:
|