[
https://issues.apache.org/jira/browse/AMBARI-8711?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Oleg Nechiporenko updated AMBARI-8711:
--------------------------------------
Attachment: (was: 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)