You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Richard Ellis (Created) (JIRA)" <ji...@apache.org> on 2011/10/28 15:14:32 UTC

[jira] [Created] (ARIES-770) BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter

BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter
----------------------------------------------------------------------------

                 Key: ARIES-770
                 URL: https://issues.apache.org/jira/browse/ARIES-770
             Project: Aries
          Issue Type: Bug
          Components: Application
    Affects Versions: 0.3
            Reporter: Richard Ellis


The CompositeServiceFilter-Import header represents an OSGi service filter and therefore needs to use LDAP syntax. The code in the BundleFrameworkConfigurationFactoryImpl loops through the Collection<Filter> from the metadata.getDeployedServiceImport() using a "," to separate the Filter entries.
This causes InvalidSyntaxExceptions if anyone tries to use the header to create the Filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Assigned] (ARIES-770) BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter

Posted by "Alasdair Nottingham (Assigned) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alasdair Nottingham reassigned ARIES-770:
-----------------------------------------

    Assignee: Alasdair Nottingham
    
> BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter
> ----------------------------------------------------------------------------
>
>                 Key: ARIES-770
>                 URL: https://issues.apache.org/jira/browse/ARIES-770
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 0.3
>            Reporter: Richard Ellis
>            Assignee: Alasdair Nottingham
>         Attachments: Aries-770-patch.txt
>
>
> The CompositeServiceFilter-Import header represents an OSGi service filter and therefore needs to use LDAP syntax. The code in the BundleFrameworkConfigurationFactoryImpl loops through the Collection<Filter> from the metadata.getDeployedServiceImport() using a "," to separate the Filter entries.
> This causes InvalidSyntaxExceptions if anyone tries to use the header to create the Filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Updated] (ARIES-770) BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter

Posted by "Richard Ellis (Updated) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Richard Ellis updated ARIES-770:
--------------------------------

    Attachment: Aries-770-patch.txt

Patch to append using an LDAP syntax OR group instead of ","
                
> BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter
> ----------------------------------------------------------------------------
>
>                 Key: ARIES-770
>                 URL: https://issues.apache.org/jira/browse/ARIES-770
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 0.3
>            Reporter: Richard Ellis
>         Attachments: Aries-770-patch.txt
>
>
> The CompositeServiceFilter-Import header represents an OSGi service filter and therefore needs to use LDAP syntax. The code in the BundleFrameworkConfigurationFactoryImpl loops through the Collection<Filter> from the metadata.getDeployedServiceImport() using a "," to separate the Filter entries.
> This causes InvalidSyntaxExceptions if anyone tries to use the header to create the Filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (ARIES-770) BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter

Posted by "Alasdair Nottingham (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/ARIES-770?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alasdair Nottingham resolved ARIES-770.
---------------------------------------

    Resolution: Fixed
    
> BundleFrameworkConfigurationFactoryImpl breaks LDAP syntax of service Filter
> ----------------------------------------------------------------------------
>
>                 Key: ARIES-770
>                 URL: https://issues.apache.org/jira/browse/ARIES-770
>             Project: Aries
>          Issue Type: Bug
>          Components: Application
>    Affects Versions: 0.3
>            Reporter: Richard Ellis
>            Assignee: Alasdair Nottingham
>         Attachments: Aries-770-patch.txt
>
>
> The CompositeServiceFilter-Import header represents an OSGi service filter and therefore needs to use LDAP syntax. The code in the BundleFrameworkConfigurationFactoryImpl loops through the Collection<Filter> from the metadata.getDeployedServiceImport() using a "," to separate the Filter entries.
> This causes InvalidSyntaxExceptions if anyone tries to use the header to create the Filter.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira