ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oleg Nechiporenko (JIRA)" <j...@apache.org>
Subject [jira] [Created] (AMBARI-8711) Admin View: default config value not being set/shown
Date Mon, 15 Dec 2014 14:44:13 GMT
Oleg Nechiporenko created AMBARI-8711:
-----------------------------------------

             Summary: 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


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)

Mime
View raw message