Return-Path: X-Original-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 7090B23E3 for ; Mon, 3 Jun 2013 13:11:21 +0000 (UTC) Received: (qmail 65854 invoked by uid 500); 3 Jun 2013 13:11:21 -0000 Delivered-To: apmail-incubator-ambari-dev-archive@incubator.apache.org Received: (qmail 65802 invoked by uid 500); 3 Jun 2013 13:11:20 -0000 Mailing-List: contact ambari-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-dev@incubator.apache.org Received: (qmail 65789 invoked by uid 99); 3 Jun 2013 13:11:20 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Jun 2013 13:11:20 +0000 Date: Mon, 3 Jun 2013 13:11:19 +0000 (UTC) From: "Chad Roberts (JIRA)" To: ambari-dev@incubator.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (AMBARI-2252) Incorrect config_mapping file being used (result of currentStackVersionNumber comparison) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Chad Roberts created AMBARI-2252: ------------------------------------ Summary: Incorrect config_mapping file being used (result of currentStackVersionNumber comparison) Key: AMBARI-2252 URL: https://issues.apache.org/jira/browse/AMBARI-2252 Project: Ambari Issue Type: Bug Components: client Reporter: Chad Roberts When using stack version 1.3.0 (or 1.3.1), the "currentStackVersionNumber" is an empty string in the configMapping function (below) which is causing the function to incorrectly return "require('data/HDP2/config_mapping')" instead of "require('data/config_mapping')" configMapping: function() { if (stringUtils.compareVersions(App.get('currentStackVersionNumber'), "2.0") === 1 || stringUtils.compareVersions(App.get('currentStackVersionNumber'), "2.0") === 0) { return require('data/HDP2/config_mapping'); } return require('data/config_mapping'); }.property('App.currentStackVersionNumber'), -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira