diff --git a/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs b/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs index 5bab8aa265..db7aa0d5d1 100644 --- a/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs +++ b/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs @@ -100,8 +100,8 @@ namespace Umbraco.Web.PublishedCache.NuCache var originPublished = origin.PublishedContent; - DraftContent = new PublishedContent(this, originDraft, umbracoContextAccessor); - PublishedContent = new PublishedContent(this, originPublished, umbracoContextAccessor); + DraftContent = originDraft == null ? null : new PublishedContent(this, originDraft, umbracoContextAccessor); + PublishedContent = originPublished == null ? null : new PublishedContent(this, originPublished, umbracoContextAccessor); DraftModel = DraftContent?.CreateModel(); PublishedModel = PublishedContent?.CreateModel();