[ 
https://issues.apache.org/jira/browse/FELIX-2546?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12991478#comment-12991478
 ] 

Guillaume Nodet commented on FELIX-2546:
----------------------------------------

I don't really understand the problem.  I just like to keep backward 
compatiblity.  I don't have any problem commiting a patch that would provide a 
switch to change that behavior.   In a few months, we'll be working on a new 
major version that will implement the OSGi RFC, so that would clearly be a good 
time to change anything for default behaviors.  Would you consider that as an 
option ? 

I don't ask any change in blueprint, I can cope with a major upgrade and make 
sure my bundles still work, but an incompatible change in a minor upgrade is 
definitely wrong.

And as to wether it should be considered a bug or an improvement, we could 
argue ad nauseum, but that's not really the problem.  It's an incompatible 
behavioral change that wasn't really specified, so I'd like to not include it 
in a minor release.

> Only one service is provisioned even when specifying for mulitple services
> --------------------------------------------------------------------------
>
>                 Key: FELIX-2546
>                 URL: https://issues.apache.org/jira/browse/FELIX-2546
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.4
>         Environment: n/a
>            Reporter: Emily Jiang
>         Attachments: Felix OBR isMultiple support - timothyjward.txt
>
>
> Felix OBR is unable to return multiple services when specifying 'multiple' 
> attribute with the value of 'true'. The test scenario is detailed below.
> I am trying to get all bundles registering the service of 
> com.sample.HelloWorld and install them into the osgi framework . In my test 
> environment, there are two bundles with different symbolic name offering the 
> same service, com.sample.HelloWorld. However, only one bundle was pulled into 
> runtime. The snippet of my repository is shown below. 
> <require extend="false" 
> filter="(&amp;(service=service)(objectClass=com.sample.HelloWorld)(mandatory:&lt;*service))"
>  multiple="true" name="service" optional="false">Requires service with 
> attributes {service=service, objectClass=com.sample.HelloWorld}</require>
> Regards
> Emily

-- 
This message is automatically generated by JIRA.
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to