Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id A0D78200B26 for ; Mon, 27 Jun 2016 18:21:37 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 9F63F160A5B; Mon, 27 Jun 2016 16:21:37 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E839E160A54 for ; Mon, 27 Jun 2016 18:21:36 +0200 (CEST) Received: (qmail 67271 invoked by uid 500); 27 Jun 2016 16:21:36 -0000 Mailing-List: contact commits-help@ambari.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@ambari.apache.org Delivered-To: mailing list commits@ambari.apache.org Received: (qmail 67262 invoked by uid 99); 27 Jun 2016 16:21:36 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Jun 2016 16:21:36 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 07828DFDC3; Mon, 27 Jun 2016 16:21:36 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: alexantonenko@apache.org To: commits@ambari.apache.org Message-Id: <325439c0eed846cb9abc92f8df4ac402@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: ambari git commit: AMBARI-17448. Ambari wizard cannot add Service (alexantonenko) Date: Mon, 27 Jun 2016 16:21:36 +0000 (UTC) archived-at: Mon, 27 Jun 2016 16:21:37 -0000 Repository: ambari Updated Branches: refs/heads/trunk bf1955964 -> dffff6ca8 AMBARI-17448. Ambari wizard cannot add Service (alexantonenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/dffff6ca Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/dffff6ca Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/dffff6ca Branch: refs/heads/trunk Commit: dffff6ca8a64f76629dfd384c546dea38e8d0246 Parents: bf19559 Author: Alex Antonenko Authored: Mon Jun 27 16:18:41 2016 +0300 Committer: Alex Antonenko Committed: Mon Jun 27 19:21:30 2016 +0300 ---------------------------------------------------------------------- ambari-web/app/mixins/common/configs/configs_saver.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/dffff6ca/ambari-web/app/mixins/common/configs/configs_saver.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/mixins/common/configs/configs_saver.js b/ambari-web/app/mixins/common/configs/configs_saver.js index a841951..43a77ce 100644 --- a/ambari-web/app/mixins/common/configs/configs_saver.js +++ b/ambari-web/app/mixins/common/configs/configs_saver.js @@ -390,7 +390,9 @@ App.ConfigsSaverMixin = Em.Mixin.create({ fileNamesToSave.forEach(function(fName) { /** @see _timeStamps **/ - if (this.get('_timeStamps')[fName] === tagVersion) tagVersion++; + if (this.get('_timeStamps')[fName] === tagVersion) { + tagVersion = "version" + ((new Date).getTime() + 1); + } this.get('_timeStamps')[fName] = tagVersion; if (this.allowSaveSite(fName)) {