Return-Path: X-Original-To: apmail-ambari-dev-archive@www.apache.org Delivered-To: apmail-ambari-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 393AC185AD for ; Thu, 30 Apr 2015 03:18:07 +0000 (UTC) Received: (qmail 63051 invoked by uid 500); 30 Apr 2015 03:18:07 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 62901 invoked by uid 500); 30 Apr 2015 03:18:07 -0000 Mailing-List: contact dev-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@ambari.apache.org Delivered-To: mailing list dev@ambari.apache.org Received: (qmail 62681 invoked by uid 99); 30 Apr 2015 03:18:06 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 30 Apr 2015 03:18:06 +0000 Date: Thu, 30 Apr 2015 03:18:06 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-10857) Widget Browser load duplicated widgets if it is user created and CLUSTER scope MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/AMBARI-10857?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14520781#comment-14520781 ] Hudson commented on AMBARI-10857: --------------------------------- SUCCESS: Integrated in Ambari-trunk-Commit #2482 (See [https://builds.apache.org/job/Ambari-trunk-Commit/2482/]) AMBARI-10857. Widget Browser load duplicated widgets if it is user created and CLUSTER scope.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=5f95f11bc2f57f56521145c80e839cffb682dfbe) * ambari-web/app/controllers/main/service/info/summary.js > Widget Browser load duplicated widgets if it is user created and CLUSTER scope > ------------------------------------------------------------------------------ > > Key: AMBARI-10857 > URL: https://issues.apache.org/jira/browse/AMBARI-10857 > Project: Ambari > Issue Type: Task > Components: ambari-web > Affects Versions: 2.1.0 > Reporter: Xi Wang > Assignee: Xi Wang > Priority: Critical > Fix For: 2.1.0 > > Attachments: AMBARI-10857.patch > > > In widget browser, we do two API calls to load all widgets: > 1. all shared widgets. > 2. all current user created widgets. > However, if user created a new widget with scope "CLUSTER", this new one will be loaded twice. which is not expected. -- This message was sent by Atlassian JIRA (v6.3.4#6332)