From 583e8f83ed40d3edbb8f44cbe11767b1f52c01f9 Mon Sep 17 00:00:00 2001 From: Pavel Horal Date: Wed, 8 Feb 2023 11:33:40 +0100 Subject: [PATCH] Fix persistent search result missing controls. #69 --- .../org/forgerock/opendj/reactive/LDAPClientConnection2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendj-server-legacy/src/main/java/org/forgerock/opendj/reactive/LDAPClientConnection2.java b/opendj-server-legacy/src/main/java/org/forgerock/opendj/reactive/LDAPClientConnection2.java index defc82505c..bee79632b8 100644 --- a/opendj-server-legacy/src/main/java/org/forgerock/opendj/reactive/LDAPClientConnection2.java +++ b/opendj-server-legacy/src/main/java/org/forgerock/opendj/reactive/LDAPClientConnection2.java @@ -542,7 +542,7 @@ private FlowableEmitter getAttachedEmitter(final Operation operation) } private Response toResponse(final SearchResultEntry searchEntry) { - return Responses.newSearchResultEntry(Converters.partiallyWrap(searchEntry, ldapVersion)); + return Responses.copyOfSearchResultEntry(Converters.partiallyWrap(searchEntry, ldapVersion)); } /**