mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
Fix response status in node rendition request
This commit is contained in:
@@ -442,7 +442,7 @@ public class Node extends ModelRequest<Node>
|
|||||||
renditionId);
|
renditionId);
|
||||||
RestResponse response = restWrapper.process(request);
|
RestResponse response = restWrapper.process(request);
|
||||||
int retry = 0;
|
int retry = 0;
|
||||||
while (response.getStatusCode().equals(HttpStatus.NOT_FOUND.toString()) && retry < Utility.retryCountSeconds)
|
while (Integer.valueOf(response.getStatusCode()).equals(HttpStatus.NOT_FOUND.value()) && retry < Utility.retryCountSeconds)
|
||||||
{
|
{
|
||||||
Utility.waitToLoopTime(1);
|
Utility.waitToLoopTime(1);
|
||||||
response = restWrapper.process(request);
|
response = restWrapper.process(request);
|
||||||
|
Reference in New Issue
Block a user