[ 
https://issues.apache.org/jira/browse/ARIES-1274?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

David Bosschaert closed ARIES-1274.
-----------------------------------
    Resolution: Fixed
      Assignee: David Bosschaert

Yes, I fixed this and incorrectly attributed it to ARIES-1263. See here: 
http://svn.apache.org/viewvc?view=revision&revision=1639908 it even contains a 
test for it. 

Closing this issue.

> Classname ignored on Subsystem-ImportService 
> ---------------------------------------------
>
>                 Key: ARIES-1274
>                 URL: https://issues.apache.org/jira/browse/ARIES-1274
>             Project: Aries
>          Issue Type: Bug
>          Components: Subsystem
>    Affects Versions: subsystem-core-1.0.0, subsystem-core-1.1.0
>            Reporter: David Bosschaert
>            Assignee: David Bosschaert
>
> The Subsystem-ImportService has the following syntax (spec 134.2.1.10):
>   org.acme.billing.Account; filter:="(type=premium)"
> However the Aries implementation ignores the classname in the filter. This 
> should not be the case.
> An easy way to reproduce it is to take the test from [1] and change
> {{Subsystem-ImportService: *;filter:="(test=testCompositeServiceImports)"}}
> to 
> {{Subsystem-ImportService: 
> org.foo.NonExistant;filter:="(test=testCompositeServiceImports)"}}
> in the SUBSYSTEM.MF file. 
> You will see that the test still passes even though the org.foo.NonExistant 
> service does not exist.
> [1] 
> https://github.com/bosschaert/aries/blob/08b9dc15c43feaae8588566de65edba4011dbba8/subsystem/subsystem-itests/src/test/resources/composite2/OSGI-INF/SUBSYSTEM.MF



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to