
|
If you were logged in you would be able to see more operations.
|
|
|
| Resolution Date: |
30/Aug/06 12:17 AM
|
|
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.
|
|
Description
|
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. |
Show » |
|
Thanks a lot for the find, I could have spend hours trying to find it later !
Fixed, the code has been removed.