Преглед изворни кода

fix userApps population when user is template owner

tags/v1.5.4
Jonathan Cobb пре 3 година
родитељ
комит
784206452f
1 измењених фајлова са 1 додато и 1 уклоњено
  1. +1
    -1
      bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java

+ 1
- 1
bubble-server/src/main/java/bubble/service/dbfilter/EntityIterator.java Прегледај датотеку

@@ -226,7 +226,7 @@ public abstract class EntityIterator implements Iterator<Identifiable> {
for (Identifiable e : entities) {
final BubblePlanApp systemPlanApp = (BubblePlanApp) e;
final BubbleApp userApp = userApps.stream()
.filter(app -> app.getTemplateApp().equals(systemPlanApp.getApp()))
.filter(app -> app.getTemplateAppOrSelf().equals(systemPlanApp.getApp()))
.findFirst().orElse(null);
if (userApp == null) {
if (log.isInfoEnabled()) log.info("addEntities: system BubblePlanApp " + systemPlanApp.getUuid() + ": no matching BubbleApp found in userApps (not adding): " + names(userApps));


Loading…
Откажи
Сачувај