[
https://issues.apache.org/jira/browse/FELIX-3260?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13164126#comment-13164126
]
Richard S. Hall edited comment on FELIX-3260 at 12/7/11 4:30 AM:
-----------------------------------------------------------------
Perhaps it is an error in your issue description, but in your repo filter
example:
(&(package=com.obr.bundle112)(version>=1.2.0.999)(version<3.2.2.bz)(company=moon)(location=uk)
Isn't it missing a parentheses at the end?
was (Author: rickhall):
Perhaps it is an error in your issue description, but in your repo filter
example:
(&(package=com.obr.bundle112)(version>=1.2.0.999)(version<3.2.2.bz)(company=moon)(location=uk)
Isn't it missing an parentheses at the end?
> Felix bundle repository translates filter incorrectly if the filter contains <
> ------------------------------------------------------------------------------
>
> Key: FELIX-3260
> URL: https://issues.apache.org/jira/browse/FELIX-3260
> Project: Felix
> Issue Type: Bug
> Components: Bundle Repository (OBR)
> Affects Versions: bundlerepository-1.6.4
> Reporter: Emily Jiang
> Priority: Minor
>
> When I specify the follow filter in my repository.xml,
> (&(package=com.obr.bundle112)(version>=1.2.0.999)(version<3.2.2.bz)(company=moon)(location=uk),
> during the runtime, the filter was translated to:
> (&(package=com.obr.bundle112)(version>=1.2.0.999)(&(version<=3.2.2.bz)
> (!(version<=3.2.2.bz) (company=moon)(location=uk)))
> instead of
> (&(package=com.obr.bundle112)(version>=1.2.0.999)(&(version<=3.2.2.bz)
> (!(version=3.2.2.bz)) (company=moon)(location=uk))
> As you can see, the closing bracket for (!(version=3.2.2.bz) did not close in
> the right place. It closes at the end.
> This leads to LDAP exception.
--
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