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

Gaetan Boismal
12.55.2016 067a169bbdbe738f4bdd6dafe3eef133aee078c9
refs
author Gaetan Boismal <gaetan.boismal@forgerock.com>
Tuesday, April 12, 2016 15:55 +0200
committer Gaetan Boismal <gaetan.boismal@forgerock.com>
Monday, October 31, 2016 15:00 +0100
commit067a169bbdbe738f4bdd6dafe3eef133aee078c9
tree c33b452ec51eaf11a9cf9781a4b73d05b5c2d17e tree | zip | gz
parent e90c7f127334189235d577ba36968b4434085eae view | diff
OPENDJ-2830 Fix ldifsearch size limit

If size limit was reached, ldifsearch returned 0 instead of the size
limit exceeded result code (4).
This commit fixes the issue by throwing an LDAPException in the reader
and catching it in LDIFSearch.
2 files modified
36 ■■■■■ changed files
opendj-core/src/main/java/org/forgerock/opendj/ldif/LDIF.java 22 ●●●● diff | view | raw | blame | history
opendj-ldap-toolkit/src/main/java/com/forgerock/opendj/ldap/tools/LDIFSearch.java 14 ●●●●● diff | view | raw | blame | history