ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Hudson (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (AMBARI-14315) Config properties does not appear in right order
Date Thu, 17 Dec 2015 23:36:46 GMT

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

Hudson commented on AMBARI-14315:
---------------------------------

FAILURE: Integrated in Ambari-trunk-Commit #4062 (See [https://builds.apache.org/job/Ambari-trunk-Commit/4062/])
AMBARI-14315. Config properties does not appear in right order(mithmatt (odiachenko: [http://git-wip-us.apache.org/repos/asf?p=ambari.git&a=commit&h=39873e83a30b16823f946ea78b3aa5a41f1d4216])
* ambari-web/app/mappers/configs/stack_config_properties_mapper.js


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

Mime
View raw message