[
https://issues.apache.org/jira/browse/AMBARI-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15062567#comment-15062567
]
Oleksandr Diachenko commented on AMBARI-14315:
----------------------------------------------
Committed to trunk.
commit 39873e83a30b16823f946ea78b3aa5a41f1d4216
Author: Oleksandr Diachenko <[email protected]>
Date: Thu Dec 17 11:00:09 2015 -0800
AMBARI-14315. Config properties does not appear in right order(mithmatt via
odiachenko).
> 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: trunk
> Reporter: Matt
> Assignee: Matt
> Priority: Minor
> 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)