You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@aries.apache.org by "Thomas Watson (JIRA)" <ji...@apache.org> on 2015/01/22 17:53:37 UTC
[jira] [Closed] (ARIES-1283) Subsystem import/export service header
parsing is incorrect
[ https://issues.apache.org/jira/browse/ARIES-1283?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Thomas Watson closed ARIES-1283.
--------------------------------
Resolution: Fixed
Thanks Sam! I applied the patch to trunk and merged trunk into the subsystemR6 branch.
> Subsystem import/export service header parsing is incorrect
> -----------------------------------------------------------
>
> Key: ARIES-1283
> URL: https://issues.apache.org/jira/browse/ARIES-1283
> Project: Aries
> Issue Type: Bug
> Components: Subsystem
> Environment: All
> Reporter: Thomas Watson
> Assignee: Thomas Watson
> Attachments: ARIES-1283.patch
>
>
> ARIES-1263 introduced a bug in the parsing of the Subsystem import/export service headers. It appears the wildcard matching is causing the regular expressions used to parse the headers to match too much. If you modify test file:
> subsystem/subsystem-itests/src/test/resources/composite2/OSGI-INF/SUBSYSTEM.MF
> To have the following the test will fail:
> Subsystem-ExportService: *;filter:="(test=tb4)", does.not.exist; filter:="(a=b)"
> It appears the parsing converts the above to be something like
> Subsystem-ExportService: *;filter:="(a=b)"
> Basically collapsing the elements into one and using the last filter. This is causing Subsystem OSGi CT failures.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)