Return-Path: X-Original-To: apmail-felix-dev-archive@www.apache.org Delivered-To: apmail-felix-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 68E6D104EE for ; Mon, 6 May 2013 22:24:17 +0000 (UTC) Received: (qmail 33753 invoked by uid 500); 6 May 2013 22:24:16 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 33673 invoked by uid 500); 6 May 2013 22:24:16 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 33488 invoked by uid 99); 6 May 2013 22:24:16 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 06 May 2013 22:24:16 +0000 Date: Mon, 6 May 2013 22:24:16 +0000 (UTC) From: "Pierre Bourret (JIRA)" To: dev@felix.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (FELIX-4054) Use current factory version to generate instance name if required 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/FELIX-4054?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13650173#comment-13650173 ] Pierre Bourret commented on FELIX-4054: --------------------------------------- Fix confirmed (trunk r1479678) : Got 2 factories with the same name "BarImpl" and 2 different versions : null (no version set) and "2.0.0" First instance created with "null" factory is named : "BarImpl-0" First instance created with "2.0.0" factory is named "BarImpl-0-2.0.0" (No instance name is provided for these 2 creations, to force name generation) Before the fix, the second instance creation failed because of a generated name conflict (both were "BarImpl-0") > Use current factory version to generate instance name if required > ----------------------------------------------------------------- > > Key: FELIX-4054 > URL: https://issues.apache.org/jira/browse/FELIX-4054 > Project: Felix > Issue Type: Bug > Components: iPOJO > Affects Versions: ipojo-runtime-1.8.6 > Reporter: Clement Escoffier > Assignee: Clement Escoffier > Fix For: ipojo-runtime-1.10 > > > When two factories of different versions are installed, the unique name generation should use the factory version if a conflict is detected. -- 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