Skip to content
Snippets Groups Projects
Verified Commit 25659c01 authored by Timm Fitschen's avatar Timm Fitschen
Browse files

Merge branch 'f-query-caching' into tmp-2020-12-23

parents cea1f9fe dc95d192
Branches
No related tags found
No related merge requests found
......@@ -516,6 +516,10 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
} else {
logger.debug("Using cached result for {}", this.query);
}
filterEntitiesWithoutRetrievePermission(this.resultSet);
// Fill resulting entities into container
if (this.container != null && this.type == Type.FIND) {
for (final IdVersionPair p : this.resultSet) {
......@@ -558,10 +562,6 @@ public class Query implements QueryInterface, ToElementable, TransactionInterfac
this.resultSet = getResultSet(executeStrategy(this.versioned), this.versioned);
filterEntitiesWithoutRetrievePermission(this.resultSet);
// Fill resulting entities into container
} finally {
cleanUp();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment