Return-Path: X-Original-To: apmail-directory-dev-archive@www.apache.org Delivered-To: apmail-directory-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 31C7818D9D for ; Thu, 28 Jan 2016 14:29:40 +0000 (UTC) Received: (qmail 19406 invoked by uid 500); 28 Jan 2016 14:29:40 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 19354 invoked by uid 500); 28 Jan 2016 14:29:40 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 19328 invoked by uid 99); 28 Jan 2016 14:29:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 28 Jan 2016 14:29:39 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id CE7D52C1F54 for ; Thu, 28 Jan 2016 14:29:39 +0000 (UTC) Date: Thu, 28 Jan 2016 14:29:39 +0000 (UTC) From: "Shawn McKinney (JIRA)" To: dev@directory.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Resolved] (FC-141) Config from repository is adding instead of overriding MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/FC-141?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Shawn McKinney resolved FC-141. ------------------------------- Resolution: Fixed changed to setProperty as recommended. > Config from repository is adding instead of overriding > ------------------------------------------------------ > > Key: FC-141 > URL: https://issues.apache.org/jira/browse/FC-141 > Project: FORTRESS > Issue Type: Bug > Affects Versions: 1.0.0-RC41 > Reporter: Jan Sindberg > Priority: Trivial > > Config.java, line 118 > Remote properties are added instead of just set. > The result is that if the values are first set from fortress.properties, then there now will be an array with to values for each property. This fails for instance when calling Config.getString( XXX ); > The line should be changed from > config.addProperty( key, val ); > to > config.setProperty( key, val ); -- This message was sent by Atlassian JIRA (v6.3.4#6332)