From 4c775822c0733bebde8cca7b5203715d5fb67f4f Mon Sep 17 00:00:00 2001 From: Shannon Date: Mon, 16 Sep 2019 16:22:05 +1000 Subject: [PATCH] fixes null ref issues since the field values were not copied on clone --- src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs b/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs index fad402a0eb..5f8e81fd31 100644 --- a/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs +++ b/src/Umbraco.Web/PublishedCache/NuCache/ContentNode.cs @@ -101,6 +101,8 @@ namespace Umbraco.Web.PublishedCache.NuCache _draftData = origin._draftData; _publishedData = origin._publishedData; + _publishedSnapshotAccessor = origin._publishedSnapshotAccessor; + _variationContextAccessor = origin._variationContextAccessor; } // everything that is common to both draft and published versions