From 1e17d6a527c5bdaa78b0746cdcd10d8153ba4d91 Mon Sep 17 00:00:00 2001 From: ChristophNZ Date: Thu, 22 Feb 2018 16:19:21 +1000 Subject: [PATCH] continue loop after logging warning when null --- src/Umbraco.Core/Services/PackagingService.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Core/Services/PackagingService.cs b/src/Umbraco.Core/Services/PackagingService.cs index 4d842a1dd6..f92e0a8374 100644 --- a/src/Umbraco.Core/Services/PackagingService.cs +++ b/src/Umbraco.Core/Services/PackagingService.cs @@ -850,6 +850,8 @@ namespace Umbraco.Core.Services string.Format( "Packager: Error handling DocumentType structure. DocumentType with alias '{0}' could not be found and was not added to the structure for '{1}'.", alias, contentType.Alias)); + + continue; } if (allowedChildren.Any(x => x.Id.IsValueCreated && x.Id.Value == allowedChild.Id)) continue;