You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@felix.apache.org by "Emily Jiang (JIRA)" <ji...@apache.org> on 2010/09/17 11:15:32 UTC

[jira] Created: (FELIX-2601) Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)

Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)
--------------------------------------------------------------------------------------------------------------------

                 Key: FELIX-2601
                 URL: https://issues.apache.org/jira/browse/FELIX-2601
             Project: Felix
          Issue Type: Bug
          Components: Bundle Repository (OBR)
    Affects Versions: bundlerepository-1.6.4
            Reporter: Emily Jiang


Felix OBR treats optional service as mandatory service ('optional' attribute with the value of 'true' was ignored)'.  The snippet of my repository is shown below.

<require extend="false" filter="(&amp;(service=service)(objectClass=a.service.BlogCommentService)(mandatory:&lt;*service))" multiple="false" name="service" optional="true">Requires service with attributes {service=service, objectClass=a.service.BlogCommentService}</require>

When the service of a.service.BlogCommentService is absent, I get resolver exception stating 'unable to get the depended service a.service.BlogCommentService'. It suggests that the optional attribute is interpreted as manadatory or ignored.

Please let me know if you need more information.

Regards
Emily

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Closed: (FELIX-2601) Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)

Posted by "Emily Jiang (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/FELIX-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Emily Jiang closed FELIX-2601.
------------------------------

    Resolution: Invalid

Apprently, this is not a problem as another bundle expresses the mandatory requirement on the same service. Therefore the resolving process failed.

> Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2601
>                 URL: https://issues.apache.org/jira/browse/FELIX-2601
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.4
>            Reporter: Emily Jiang
>
> Felix OBR treats optional service as mandatory service ('optional' attribute with the value of 'true' was ignored)'.  The snippet of my repository is shown below.
> <require extend="false" filter="(&amp;(service=service)(objectClass=a.service.BlogCommentService)(mandatory:&lt;*service))" multiple="false" name="service" optional="true">Requires service with attributes {service=service, objectClass=a.service.BlogCommentService}</require>
> When the service of a.service.BlogCommentService is absent, I get resolver exception stating 'unable to get the depended service a.service.BlogCommentService'. It suggests that the optional attribute is interpreted as manadatory or ignored.
> Please let me know if you need more information.
> Regards
> Emily

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2601) Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)

Posted by "Richard S. Hall (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913786#action_12913786 ] 

Richard S. Hall commented on FELIX-2601:
----------------------------------------

Similar to the other issue, this is an area that really relates to policy decisions, which OBR doesn't handle very well at the present moment.

Also as before, we're not ignoring you, but open source projects are always a little shorthanded. However, since you are a programmer, you are actually in a position to help us out by contributing patches. We'd appreciate all the help we can get. Thanks. 

> Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2601
>                 URL: https://issues.apache.org/jira/browse/FELIX-2601
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.4
>            Reporter: Emily Jiang
>
> Felix OBR treats optional service as mandatory service ('optional' attribute with the value of 'true' was ignored)'.  The snippet of my repository is shown below.
> <require extend="false" filter="(&amp;(service=service)(objectClass=a.service.BlogCommentService)(mandatory:&lt;*service))" multiple="false" name="service" optional="true">Requires service with attributes {service=service, objectClass=a.service.BlogCommentService}</require>
> When the service of a.service.BlogCommentService is absent, I get resolver exception stating 'unable to get the depended service a.service.BlogCommentService'. It suggests that the optional attribute is interpreted as manadatory or ignored.
> Please let me know if you need more information.
> Regards
> Emily

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Commented: (FELIX-2601) Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)

Posted by "Emily Jiang (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/FELIX-2601?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12913777#action_12913777 ] 

Emily Jiang commented on FELIX-2601:
------------------------------------

Can someone take a look at this issue, please?
Thanks

> Felix OBR treats optional services as mandatory services ('optional' attribute with the value of 'true' was ignored)
> --------------------------------------------------------------------------------------------------------------------
>
>                 Key: FELIX-2601
>                 URL: https://issues.apache.org/jira/browse/FELIX-2601
>             Project: Felix
>          Issue Type: Bug
>          Components: Bundle Repository (OBR)
>    Affects Versions: bundlerepository-1.6.4
>            Reporter: Emily Jiang
>
> Felix OBR treats optional service as mandatory service ('optional' attribute with the value of 'true' was ignored)'.  The snippet of my repository is shown below.
> <require extend="false" filter="(&amp;(service=service)(objectClass=a.service.BlogCommentService)(mandatory:&lt;*service))" multiple="false" name="service" optional="true">Requires service with attributes {service=service, objectClass=a.service.BlogCommentService}</require>
> When the service of a.service.BlogCommentService is absent, I get resolver exception stating 'unable to get the depended service a.service.BlogCommentService'. It suggests that the optional attribute is interpreted as manadatory or ignored.
> Please let me know if you need more information.
> Regards
> Emily

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.