mirror of
https://gitee.com/jmix/cuba.git
synced 2024-12-01 02:38:21 +08:00
PL-7476 Paging does not work when using in-memory security constraints
This commit is contained in:
parent
262eae7582
commit
a24e7c3cfc
@ -585,7 +585,7 @@ public class DataManagerBean implements DataManager {
|
||||
int maxResults = (requestedFirst + requestedMax) * factor;
|
||||
int i = 0;
|
||||
while (filteredCollection.size() < setSize) {
|
||||
if (i++ > 10) {
|
||||
if (i++ > 1000) {
|
||||
log.warn("In-memory distinct: endless loop detected for " + context);
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user