Quellcode durchsuchen

fix userApps population when user is template owner

tags/v1.5.4
Jonathan Cobb vor 3 Jahren
Ursprung
Commit
784206452f
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  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 Datei anzeigen

@@ -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));


Laden…
Abbrechen
Speichern