-
Problem report
-
Resolution: Fixed
-
Trivial
-
3.0.26rc1, 4.0.6rc1, 4.2.0rc2
-
None
-
Sprint 50 (Mar 2019), Sprint 51 (Apr 2019)
-
1
Steps to reproduce:
Use API request to create more two maps with elements.
[
{
"name": "map-2",
"width": "400",
"height": "200",
"selements": [
{
"elementtype": 0,
"areatype": 1,
"elements": [
{
"hostid": "106058"
}
],
"iconid_off": "4",
"x": 0,
"y": 0,
"width": 64,
"height": 64
}
]
},
{
"name": "map-1",
"width": "400",
"height": "200",
"selements": [
{
"elementtype": 0,
"areatype": 1,
"elements": [
{
"hostid": "106057"
}
],
"iconid_off": "4",
"x": 0,
"y": 0,
"width": 64,
"height": 64
}
]
}
]
Result:
Maps created. Map with name "map-1" is empty, does not have element.
Expected:
Maps created with elements according API request.