ensure that we don't CreateModel during cache notification

This commit is contained in:
Shannon
2019-09-16 14:25:02 +10:00
parent 5898b64174
commit a85d8f3e21

View File

@@ -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<ContentNode> link)