-
Problem report
-
Resolution: Fixed
-
Major
-
3.4.0, 4.0.0alpha1
-
Sprint 15
-
0.25
Is impossible to create a dashboard if one of the several widgets does not have a field name, and for rest has been given. Example:
"method": "dashboard.create",
"params": {
"name": "Widgets - ctreate dashboard with widgets",
"widgets": [
{
"type": "problems",
"name": "widget Problems",
"x": 0,
"y": 0,
"width": 6,
"height": 5,
"fields": []
},
{
"type": "url",
"x": "6",
"y": "0",
"width": "6",
"height": "5",
"fields": []
}
]
},
I get error:
"error": {
"code": -32500,
"message": "Application error.",
"data": "SQL statement execution has failed \"INSERT INTO widget (dashboardid,type,name,x,y,width,height,widgetid) VALUES ('57','problems','widget Problems','0','0','6','5','432'),('57','url','6','0','6','5','','433')\"."
},