ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-11149) Widgets: attempted to move/add/delete a widget causes exception
Date Fri, 15 May 2015 12:38:01 GMT

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

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

FAILURE: Integrated in Ambari-trunk-Commit #2606 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2606/])
AMBARI-11149. Widgets: attempted to move/add/delete a widget causes exception (dlysnichenko)
(dlysnichenko: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=eef00a9ec7d9561eeac087d743a852e3d34d67ba)
* 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
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/WidgetLayoutDAOTest.java
* ambari-server/src/test/java/org/apache/ambari/server/orm/dao/WidgetDAOTest.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)

Mime
View raw message