[
https://issues.apache.org/jira/browse/AMBARI-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Jaimin D Jetly updated AMBARI-14315:
------------------------------------
Affects Version/s: (was: trunk)
2.2.0
> Config properties does not appear in right order
> ------------------------------------------------
>
> Key: AMBARI-14315
> URL: https://issues.apache.org/jira/browse/AMBARI-14315
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.2.0
> Reporter: Matt
> Assignee: Matt
> Fix For: 2.3.0
>
> Attachments: AMBARI-14315.patch
>
>
> Any property with index 0 in site_properties.js ends up at the bottom of the
> config section. Property with index 0 should ideally be at the top.
> Reason why this happens:
> https://github.com/apache/ambari/blob/trunk/ambari-web/app/mappers/configs/stack_config_properties_mapper.js#L172
> config.index = uiConfigProperty.index || Infinity;
> When uiConfigProperty.index = 0, config.index = Infinity
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)