You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Pierre Bourret (JIRA)" <ji...@apache.org> on 2013/05/07 00:24:16 UTC

[jira] [Commented] (FELIX-4054) Use current factory version to generate instance name if required

    [ 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