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 16F6D17EFD for ; Thu, 18 Jun 2015 21:12:01 +0000 (UTC) Received: (qmail 2361 invoked by uid 500); 18 Jun 2015 21:12:01 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 2317 invoked by uid 500); 18 Jun 2015 21:12:01 -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 2304 invoked by uid 99); 18 Jun 2015 21:12:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Jun 2015 21:12:00 +0000 Date: Thu, 18 Jun 2015 21:12:00 +0000 (UTC) From: "Hudson (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (AMBARI-11987) Create Gauge widget: Preview show 0% if the value is more than 1 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-11987?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14592515#comment-14592515 ] Hudson commented on AMBARI-11987: --------------------------------- FAILURE: Integrated in Ambari-branch-2.1 #68 (See [https://builds.apache.org/job/Ambari-branch-2.1/68/]) AMBARI-11987. Create Gauge widget: Preview show 0% if the value is more than 1.(XIWANG) (xiwang: http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=a32cb2a26681d66d37e31fc2dfecb40494e24071) * ambari-web/app/views/common/widget/gauge_widget_view.js * ambari-web/app/templates/common/widget/gauge_widget.hbs * ambari-web/app/styles/enhanced_service_dashboard.less * ambari-web/app/messages.js > Create Gauge widget: Preview show 0% if the value is more than 1 > ----------------------------------------------------------------- > > Key: AMBARI-11987 > URL: https://issues.apache.org/jira/browse/AMBARI-11987 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.1.0 > Reporter: Xi Wang > Assignee: Xi Wang > Priority: Critical > Fix For: 2.1.0 > > Attachments: AMBARI-11987.patch, Screen Shot 2015-06-17 at 5.29.37 PM.png, Screen Shot 2015-06-17 at 5.31.29 PM.png, Screen Shot 2015-06-17 at 5.52.11 PM.png > > > As part of this ticket following needs to be achieved/verified: > # If the value of the selected metric is between 0 and 1 then preview should appear. (already working) > # If the value of the expression made from multiple metric or from a metric and constant (Example: {{metric name}} {{/}} {{100}}) is between 0 and 1 then preview should appear. (already working) > # if the value of the expression is not between 0 and 1 then show appropriate message informing user that the value of the expression should be between 0 and 1. -- This message was sent by Atlassian JIRA (v6.3.4#6332)