[ 
https://issues.apache.org/jira/browse/DIRSERVER-1212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12623511#action_12623511
 ] 

Emmanuel Lecharny commented on DIRSERVER-1212:
----------------------------------------------

What should be done is to add some time field in the BaseEntryFilteringCursor, 
which will be initialized when the cursor is created, and chack that this field 
compared to the current time does not exceed the time limit.

For the size limit, we also need to add a field in the same cursor class, which 
is set with a value equals to the maximum number of element to return, and to 
decrement this field in the next() method.

Any thoughts or better ideas before I try to implement this ?

> Size time limits on SearchControls broken in core-jndi
> ------------------------------------------------------
>
>                 Key: DIRSERVER-1212
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-1212
>             Project: Directory ApacheDS
>          Issue Type: Bug
>          Components: core
>            Reporter: Alex Karasulu
>            Assignee: Alex Karasulu
>            Priority: Blocker
>             Fix For: 1.5.4
>
>
> I commented out some tests in SearchIT.java in core-integ that rely on the 
> correct operation of search size and time limits through paramters in a 
> SearchControls object.  This is not working any longer.  Fix it and remove 
> @Ignore tags.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to