You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Siddharth Wagle (JIRA)" <ji...@apache.org> on 2015/05/15 01:08:03 UTC

[jira] [Resolved] (AMBARI-11149) Widgets: attempted to move/add/delete a widget causes exception

     [ https://issues.apache.org/jira/browse/AMBARI-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Siddharth Wagle resolved AMBARI-11149.
--------------------------------------
    Resolution: Pending Closed

Pushed to trunk.

> Widgets: attempted to move/add/delete a widget causes exception
> ---------------------------------------------------------------
>
>                 Key: AMBARI-11149
>                 URL: https://issues.apache.org/jira/browse/AMBARI-11149
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.1.0
>            Reporter: Siddharth Wagle
>            Assignee: Siddharth Wagle
>             Fix For: 2.1.0
>
>
> 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":21},{"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)"
> }



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)