Fix incorrect condition in getDomains() method (#22983)

This commit is contained in:
sonika-shah 2025-08-19 19:38:39 +05:30 committed by GitHub
parent 672858f0fc
commit 7ae490fc13
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -81,7 +81,7 @@ public class CreateResourceContext<T extends EntityInterface> implements Resourc
}
List<EntityReference> domains = new ArrayList<>();
for (EntityInterface parent : parentEntities) {
if (parent.getOwners() != null) {
if (parent.getDomains() != null) {
domains = mergedInheritedEntityRefs(domains, parent.getDomains());
}
}