[ 
https://issues.apache.org/jira/browse/AMBARI-11149?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14544719#comment-14544719
 ] 

Hudson commented on AMBARI-11149:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #2601 (See 
[https://builds.apache.org/job/Ambari-trunk-Commit/2601/])
AMBARI-11149. Widgets: attempted to move/add/delete a widget causes exception. 
(swagle: 
http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=501afc0f58c65eaeccf6c388ae6100c2c3d31048)
* 
ambari-server/src/main/java/org/apache/ambari/server/orm/entities/WidgetLayoutUserWidgetEntity.java
* 
ambari-server/src/test/java/org/apache/ambari/server/controller/internal/WidgetLayoutResourceProviderTest.java
* 
ambari-server/src/main/java/org/apache/ambari/server/controller/internal/WidgetLayoutResourceProvider.java


> 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)

Reply via email to