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 102E79F23 for ; Mon, 15 Dec 2014 14:47:14 +0000 (UTC) Received: (qmail 8705 invoked by uid 500); 15 Dec 2014 14:47:13 -0000 Delivered-To: apmail-ambari-dev-archive@ambari.apache.org Received: (qmail 8663 invoked by uid 500); 15 Dec 2014 14:47:13 -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 8650 invoked by uid 99); 15 Dec 2014 14:47:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Dec 2014 14:47:13 +0000 Date: Mon, 15 Dec 2014 14:47:13 +0000 (UTC) From: "Oleg Nechiporenko (JIRA)" To: dev@ambari.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (AMBARI-8711) Admin View: default config value not being set/shown 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-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Oleg Nechiporenko updated AMBARI-8711: -------------------------------------- Attachment: AMBARI-8711.patch > Admin View: default config value not being set/shown > ---------------------------------------------------- > > Key: AMBARI-8711 > URL: https://issues.apache.org/jira/browse/AMBARI-8711 > Project: Ambari > Issue Type: Bug > Components: ambari-web > Affects Versions: 2.0.0 > Reporter: Oleg Nechiporenko > Assignee: Oleg Nechiporenko > Priority: Critical > Fix For: 2.0.0 > > Attachments: AMBARI-8711.patch, default-value.tiff > > > Using the attached view, the default value is not coming thru to the UI. > The value shows in the view def from the API: > {code} > "parameters" : [ > { > "name" : "name.description", > "description" : "Name and description", > "label" : null, > "placeholder" : null, > "defaultValue" : null, > "required" : true, > "masked" : false > }, > { > "name" : "name.label.description", > "description" : "Name, label and description", > "label" : "NameLabelDesc", > "placeholder" : null, > "defaultValue" : null, > "required" : true, > "masked" : false > }, > { > "name" : "name.label.descr.default", > "description" : "Name, label, description and default", > "label" : "NameLabelDescDefault", > "placeholder" : null, > "defaultValue" : "thedefaultvalue", > "required" : true, > "masked" : false > }, > { > "name" : "name.label.descr.default.place", > "description" : "Name, label, description, default and placeholder", > "label" : "NameLabelDescDefaultPlace", > "placeholder" : "this is placeholder text but you should see default", > "defaultValue" : "youshouldseethisdefault", > "required" : true, > "masked" : false > }, > { > "name" : "name.label.descr.place", > "description" : "Name, label, description and placeholder", > "label" : "NameLabelDescPlace", > "placeholder" : "this is some placeholder text", > "defaultValue" : null, > "required" : true, > "masked" : false > }, > { > "name" : "name.descr.place", > "description" : "Name, description and placeholder", > "label" : null, > "placeholder" : "this is the placeholder name.descr.place text", > "defaultValue" : null, > "required" : true, > "masked" : false > } > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)