Skip to content

Commit

Permalink
MID-4574 Another attempt to improve failure rate, not fully fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
1azyman committed Apr 26, 2018
1 parent 3de48b1 commit 39845d3
Showing 1 changed file with 7 additions and 1 deletion.
Expand Up @@ -92,7 +92,13 @@ public synchronized PrismObject<ResourceType> get(String oid, String version, Ge
}

if (GetOperationOptions.isReadOnly(options)) {
cachedResource.checkImmutability();
try {
cachedResource.checkImmutability();
} catch (IllegalStateException ex) {
// todo still need proper fix https://jira.evolveum.com/browse/MID-4574
return null;
}

return cachedResource;
} else {
return cachedResource.clone();
Expand Down

0 comments on commit 39845d3

Please sign in to comment.