Return-Path: Delivered-To: apmail-directory-dev-archive@www.apache.org Received: (qmail 83304 invoked from network); 25 Mar 2005 19:54:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 25 Mar 2005 19:54:26 -0000 Received: (qmail 47772 invoked by uid 500); 25 Mar 2005 19:54:25 -0000 Delivered-To: apmail-directory-dev-archive@directory.apache.org Received: (qmail 47620 invoked by uid 500); 25 Mar 2005 19:54:24 -0000 Mailing-List: contact dev-help@directory.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Apache Directory Developers List" Delivered-To: mailing list dev@directory.apache.org Received: (qmail 47595 invoked by uid 99); 25 Mar 2005 19:54:24 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from ajax-1.apache.org (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.28) with ESMTP; Fri, 25 Mar 2005 11:54:22 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 6F5B0299 for ; Fri, 25 Mar 2005 20:54:20 +0100 (CET) Message-ID: <1497333470.1111780460454.JavaMail.jira@ajax.apache.org> Date: Fri, 25 Mar 2005 20:54:20 +0100 (CET) From: "Alex Karasulu (JIRA)" To: dev@directory.apache.org Subject: [jira] Commented: (DIRLDAP-38) Search request BER parser incorrectly parses complex filters. In-Reply-To: <1747437080.1111704861165.JavaMail.jira@ajax.apache.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/DIRLDAP-38?page=comments#action_61563 ] Alex Karasulu commented on DIRLDAP-38: -------------------------------------- Is this second patch applied after I made the changes? Meaning did you update then fix the rearrangement problem then generate the patch? > Search request BER parser incorrectly parses complex filters. > ------------------------------------------------------------- > > Key: DIRLDAP-38 > URL: http://issues.apache.org/jira/browse/DIRLDAP-38 > Project: Directory LDAP > Type: Bug > Components: Common > Versions: 0.9.0 > Environment: NA > Reporter: Jacob S. Barrett > Assignee: Alex Karasulu > Priority: Blocker > Fix For: 0.9.0 > Attachments: AND-OR-2.patch, AND-OR.patch > > Using the following search from an LDAP client, like Softera's browser or OpenLDAP's ldapsearch, search for something like the following filter: > (& (a=A) (| (b=B) (c=C) ) ) > The resulting expression object after the BER parser is finished is: > (& (| (c=C) (b=B) (a=A) ) ) > This is obviously not the correct expression and results in bobus results. > I thought at first it might have been the expression object serializing to a string form that had issue, but passing the same filter string through the commons.filter.FilterParserImpl produces the correct expression object and the correct serialized string. > I am attempting to debug the problem further. If I can produce a patch I will post it, but if someone has a better idea of what is going please tackle this. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - If you want more information on JIRA, or have a bug to report see: http://www.atlassian.com/software/jira