felix-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard S. Hall (Resolved) (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (FELIX-3207) Improper handling of nulls and substring matching at CapabilitySet/SimpleFilter
Date Wed, 09 Nov 2011 03:31:51 GMT

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

Richard S. Hall resolved FELIX-3207.
------------------------------------

       Resolution: Fixed
    Fix Version/s: framework-4.2.0
         Assignee: Richard S. Hall

I've applied the patch and added your test cases. Please close if satisfied, thanks!
                
> 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
>            Assignee: Richard S. Hall
>             Fix For: framework-4.2.0
>
>         Attachments: FELIX-3207.diff
>
>
> 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

        

Mime
View raw message