Apache Directory Project - [jira] Closed: (DIRSERVER-723) Possible double add of

This is Interesting: Free IT Magazines  
Home > Archive > Apache Directory Project > August 2006 > [jira] Closed: (DIRSERVER-723) Possible double add of





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Closed: (DIRSERVER-723) Possible double add of
Pierre-Arnaud Marcelot (JIRA)

2006-08-31, 7:11 am

[ http://issues.apache.org/jira/brows...ER-723?page=all ]

Pierre-Arnaud Marcelot closed DIRSERVER-723.
--------------------------------------------


Great!

I'm closing the issue.

> Possible double add of extensibleMatchFilter in filter tree
> -----------------------------------------------------------
>
> Key: DIRSERVER-723
> URL: http://issues.apache.org/jira/browse/DIRSERVER-723
> Project: Directory ApacheDS
> Issue Type: Bug
> Components: ldap
> Reporter: Pierre-Arnaud Marcelot
> Assigned To: Emmanuel Lecharny
>
> In internal class "GrammarAction("Init extensible match Filter" )" (line 97), I think that the extensibleMatchFilter may be added twice in the Filter tree.
> The following code add the Filter :
> ------------------
> // Get the parent, if any
> Filter currentFilter = searchRequest.getCurrentFilter();
> if ( currentFilter != null )
> {
> // Ok, we have a parent. The new Filter will be added to
> // this parent, then.
> ( ( ConnectorFilter ) currentFilter ).addFilter( extensibleMatchFilter );
> extensibleMatchFilter.setParent( currentFilter );
> }
> else
> {
> // No parent. This Filter will become the root.
> searchRequest.setFilter( extensibleMatchFilter );
> extensibleMatchFilter.setParent( searchRequest );
> }
> ------------------
> and then, the addCurrentFilter( extensibleMatchFilter ) method is called and does the same thing another time.


--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secur...nistrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com