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

Ludovic Poitou
19.13.2011 5dd446ae17bf1ed95b5f46362af3a9641b0be77f
Fix OPENDJ-59 : search with paged result control issue
1 files modified
4 ■■■■ changed files
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java 4 ●●●● patch | view | raw | blame | history
opends/src/server/org/opends/server/backends/jeb/EntryContainer.java
@@ -23,6 +23,7 @@
 *
 *
 *      Copyright 2006-2010 Sun Microsystems, Inc.
 *      Portions Copyright 2011 ForgeRock AS
 */
package org.opends.server.backends.jeb;
import org.opends.messages.Message;
@@ -1304,8 +1305,7 @@
      // The cookie contains the DN of the next entry to be returned.
      try
      {
        DN lastDN = DN.decode(pageRequest.getCookie());
        begin = StaticUtils.getBytes(lastDN.toNormalizedString());
        begin = pageRequest.getCookie().toByteArray();
      }
      catch (Exception e)
      {