Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 965BF200BB1 for ; Wed, 19 Oct 2016 20:23:19 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 92674160ADC; Wed, 19 Oct 2016 18:23:19 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id DA626160AFE for ; Wed, 19 Oct 2016 20:23:18 +0200 (CEST) Received: (qmail 99673 invoked by uid 500); 19 Oct 2016 18:22:58 -0000 Mailing-List: contact issues-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 issues@ambari.apache.org Received: (qmail 99640 invoked by uid 99); 19 Oct 2016 18:22:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Oct 2016 18:22:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 4E7112C0059 for ; Wed, 19 Oct 2016 18:22:58 +0000 (UTC) Date: Wed, 19 Oct 2016 18:22:58 +0000 (UTC) From: "Xi Wang (JIRA)" To: issues@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-18639) Ambari UI does not allow to modify EMPTY threshold text of 'OK' and 'WARNING' MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Wed, 19 Oct 2016 18:23:19 -0000 Xi Wang created AMBARI-18639: -------------------------------- Summary: Ambari UI does not allow to modify EMPTY threshold text of 'OK' and 'WARNING' Key: AMBARI-18639 URL: https://issues.apache.org/jira/browse/AMBARI-18639 Project: Ambari Issue Type: Bug Components: ambari-web Affects Versions: 2.4.1, 2.5.0 Reporter: Xi Wang Assignee: Xi Wang Priority: Critical Fix For: 2.5.0, 2.4.2 Ambari UI does not allow to modify threshold of *'OK'* and *'WARNING'* in ResourceManager WEB UI alert. *Steps to reproduce:* 1. Remove threshold from WARNING/OK at alert of ResourceManager WEB UI 2. Save 3. Refresh Ambari UI and and the field is blank *- Expected* 4. Add any threshold string (may be the one that you removed) to WARNING/OK and then save 5. Refresh Ambari UI. _Here is the problem._ *It shows just blank.* 6. API /api/v1/clusters/young-hdp250/alert_definitions/44 shows blank too. - It's happening because the PUT call is sent empty. !RM Web UI- Alert Definitioni.jpg|thumbnail! {code} "critical" : { "text" : "Connection failed to {1} ({3})" }, "ok" : { "text" : "HTTP {0} response in {2:.3f}s" }, "warning" : { "text" : "" } {code} *Workaround:* Manual update using curl command works. -- This message was sent by Atlassian JIRA (v6.3.4#6332)