Improper handling of nulls and substring matching at CapabilitySet/SimpleFilter
-------------------------------------------------------------------------------

                 Key: FELIX-3207
                 URL: https://issues.apache.org/jira/browse/FELIX-3207
             Project: Felix
          Issue Type: Bug
          Components: Framework
    Affects Versions: framework-4.0.1
            Reporter: Lucas Galfaso


The current filter implementation has the following issues:
- Is not able to handle collections that have null values in it

- Substring matching does not handle the end of the string matching as expected

About this last part, below are the test cases
(attr=*foo*bar*bar)  should not match {attr=foobar} and it does
(attr=aaaa*aaaa) should not match {attr=aaaaaaa} and it does




--
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

        

Reply via email to