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