diff --git a/backend/src/Squidex.Domain.Apps.Entities/AppProviderExtensions.cs b/backend/src/Squidex.Domain.Apps.Entities/AppProviderExtensions.cs index ca0fe4eceb..ac5608af12 100644 --- a/backend/src/Squidex.Domain.Apps.Entities/AppProviderExtensions.cs +++ b/backend/src/Squidex.Domain.Apps.Entities/AppProviderExtensions.cs @@ -26,6 +26,11 @@ public static async Task GetComponentsAsync(this IAppProvide async Task ResolveWithIdsAsync(IField field, ReadonlyList? schemaIds) { + if (schemaIds == null) + { + return; + } + foreach (var schemaId in schemaIds) { if (schemaId == schema.Id)