You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Jaimin D Jetly (JIRA)" <ji...@apache.org> on 2016/01/07 20:39:39 UTC

[jira] [Commented] (AMBARI-14315) Config properties does not appear in right order

    [ https://issues.apache.org/jira/browse/AMBARI-14315?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15087957#comment-15087957 ] 

Jaimin D Jetly commented on AMBARI-14315:
-----------------------------------------

Changing the affect version from 2.2.0->2.3.0 as this issue was not present in branch-2.2 but was only in trunk.

> 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.3.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)