Parent was ignored in exists request
The routing was always set to null right after the parent was set. Closes #3276
This commit is contained in:
parent
9ce0156d39
commit
2314b8665b
|
@ -51,8 +51,8 @@ public class RestHeadAction extends BaseRestHandler {
|
||||||
getRequest.listenerThreaded(false);
|
getRequest.listenerThreaded(false);
|
||||||
getRequest.operationThreaded(true);
|
getRequest.operationThreaded(true);
|
||||||
getRequest.refresh(request.paramAsBoolean("refresh", getRequest.refresh()));
|
getRequest.refresh(request.paramAsBoolean("refresh", getRequest.refresh()));
|
||||||
|
getRequest.routing(request.param("routing")); // order is important, set it after routing, so it will set the routing
|
||||||
getRequest.parent(request.param("parent"));
|
getRequest.parent(request.param("parent"));
|
||||||
getRequest.routing(request.param("routing"));
|
|
||||||
getRequest.preference(request.param("preference"));
|
getRequest.preference(request.param("preference"));
|
||||||
getRequest.realtime(request.paramAsBooleanOptional("realtime", null));
|
getRequest.realtime(request.paramAsBooleanOptional("realtime", null));
|
||||||
// don't get any fields back...
|
// don't get any fields back...
|
||||||
|
|
Loading…
Reference in New Issue