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

neil_a_wilson
06.39.2007 947c2fe927c772adf4a5abb555648a34a375f618
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
commit947c2fe927c772adf4a5abb555648a34a375f618
tree 3d78c3fa1f7505996aa05381c758ed6f8dab7b1d tree | zip | gz
parent 37af0ef44fc0876889da39db3760521d451460cf 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
opends/src/server/org/opends/server/backends/jeb/EntryIDSetSorter.java 50 ●●●●● diff | view | raw | blame | history
opends/tests/unit-tests-testng/src/server/org/opends/server/controls/VLVControlTestCase.java 167 ●●●●● diff | view | raw | blame | history