mirror of https://github.com/OpenIdentityPlatform/OpenDJ.git

neil_a_wilson
06.39.2007 a1db2514d6a1bf75e851a44e649a7986e95d2cc9
refs
author neil_a_wilson <neil_a_wilson@localhost>
Friday, July 6, 2007 23:39 +0200
committer neil_a_wilson <neil_a_wilson@localhost>
Friday, July 6, 2007 23:39 +0200
commita1db2514d6a1bf75e851a44e649a7986e95d2cc9
tree 35b35ea1d478825848d92d1e7bb4689fa6504d91 tree | zip | gz
parent 7400a2b86dc7eaf1e1da8b587d0210bfef9e8779 view | diff
Update the way that the server handles the VLV request control to be more
forgiving with target ranges that are out of the bounds of the actual result
set. Negative target offsets will still result in errors, but a target offset
of zero will be treated as if it were one. If beforeCount is greater than or
equal to the target offset, then it will now be truncated. If the target
offset or assertion value is beyond the end of the result set, then only the
before count entries will be returned and the target position will be set to
one greater than the content count.

OpenDS Issue Number: 1907
2 files modified
217 ■■■■ changed files
opendj-sdk/opends/src/server/org/opends/server/backends/jeb/EntryIDSetSorter.java 50 ●●●●● diff | view | raw | blame | history
opendj-sdk/opends/tests/unit-tests-testng/src/server/org/opends/server/controls/VLVControlTestCase.java 167 ●●●●● diff | view | raw | blame | history