-
Problem report
-
Resolution: Fixed
-
Trivial
-
5.0.3
-
Sprint 68 (Sep 2020), Sprint 69 (Oct 2020), Sprint 70 (Nov 2020), Sprint 71 (Dec 2020)
-
0.125
Steps to reproduce:
- create dashboard with widget hidden header (view_mode = 1)
{ "name": "dashboard", "widgets": [{"type": "clock", "view_mode": 1}] }
"dashboardids": [ "12" ]
- get this dashboard
{ "output": ["dashboardid", "name"], "selectWidgets": ["widgetid", "type", "view_mode"], "dashboardids": 12 }
{ "dashboardid": "12", "name": "dashboard", "widgets": [{ "widgetid": "17", "type": "clock", "view_mode": "1" }] }
- update this dashboard with minimum specified fields
{ "dashboardid": 12, "widgets": [{"widgetid": 17}] }
"dashboardids": [ "12" ]
- get this dashboard again
{ "output": ["dashboardid", "name"], "selectWidgets": ["widgetid", "type", "view_mode"], "dashboardids": 12 }
{ "dashboardid": "12", "name": "dashboard", "widgets": [{ "widgetid": "17", "type": "clock", "view_mode": "0" }] }
Result:
"view_mode" field resets to default value
Expected:
this field should be unchanged
- caused by
-
ZBXNEXT-5281 Make visibility of widget titles configurable
- Closed