Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Pending Closed
-
2.1.0
-
None
Description
Attempting to click X and remove a widget from the user page is throwing exception:
PUT
{"WidgetLayoutInfo":{"display_name":"Standard YARN Dashboard","id":7,"layout_name":"admin_yarn_dashboard"
,"scope":"USER","section_name":"YARN_SUMMARY","widgets":[
,
{"id":23},
{"id":24},
{"id":25},
{"id" :26},
{"id":27},
{"id":28},
{"id":29},
{"id":30}]}}
Response
{
"status": 500,
"message": "Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.5.2.v20140319-9ad6abd):
org.eclipse.persistence.exceptions.DatabaseException\nInternal Exception: java.sql.BatchUpdateException
: Batch entry 0 INSERT INTO widget_layout_user_widget (widget_order, widget_id, widget_layout_id) VALUES
(7, 29, 7) was aborted. Call getNextException to see the cause.\nError Code: 0\nCall: INSERT INTO widget_layout_user_widget
(widget_order, widget_id, widget_layout_id) VALUES (?, ?, ?)\n\tbind \u003d\u003e [3 parameters bound
]\nQuery: DeleteObjectQuery(org.apache.ambari.server.orm.entities.WidgetLayoutUserWidgetEntity@ef)"
}
Attachments
Issue Links
- links to