Skip to content

Commit

Permalink
MID-7940: using subresult instead of parent result in modify methods …
Browse files Browse the repository at this point in the history
…of SqaleRepositoryService
  • Loading branch information
skublik committed May 20, 2022
1 parent 9b1764d commit 8797466
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ public <T extends ObjectType> ModifyObjectResult<T> modifyObject(
.build();

try {
return executeModifyObject(type, oidUuid, modifications, precondition, options, parentResult);
return executeModifyObject(type, oidUuid, modifications, precondition, options, operationResult);
} catch (RepositoryException | RuntimeException e) {
throw handledGeneralException(e, operationResult);
} catch (Throwable t) {
Expand Down Expand Up @@ -513,7 +513,7 @@ private <T extends ObjectType> ModifyObjectResult<T> executeModifyObject(
ModifyObjectResult<T> rv = null;
try {
rv = executeModifyObjectDynamically(
type, oidUuid, getOptions, modificationsSupplier, modifyOptions, parentResult);
type, oidUuid, getOptions, modificationsSupplier, modifyOptions, operationResult);
return rv;
} catch (ObjectNotFoundException e) {
throw handleObjectNotFound(e, operationResult, getOptions);
Expand Down

0 comments on commit 8797466

Please sign in to comment.