From a85d8f3e21abaccf7b4f2457180ffebb04a00054 Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 16 Sep 2019 14:25:02 +1000 Subject: [PATCH] ensure that we don't CreateModel during cache notification --- src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs b/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs index d6631b779d..b4d409f66f 100644 --- a/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs +++ b/src/Umbraco.Web/PublishedCache/NuCache/ContentStore.cs @@ -883,7 +883,7 @@ namespace Umbraco.Web.PublishedCache.NuCache return true; var link = GetParentLink(kit.Node); var node = link?.Value; - return node?.PublishedModel != null; + return node != null && node.HasPublished; } private ContentNode GenCloneLocked(LinkedNode link)