From 4851bb05343df2c66f4bf22089870aa111e16b6b Mon Sep 17 00:00:00 2001 From: Kenn Jacobsen Date: Wed, 27 Feb 2019 19:13:51 +0100 Subject: [PATCH] Handle mixed variance when creating content templates from content --- src/Umbraco.Core/Services/Implement/ContentService.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Umbraco.Core/Services/Implement/ContentService.cs b/src/Umbraco.Core/Services/Implement/ContentService.cs index 5bdc0959da..3406eece3d 100644 --- a/src/Umbraco.Core/Services/Implement/ContentService.cs +++ b/src/Umbraco.Core/Services/Implement/ContentService.cs @@ -2875,7 +2875,8 @@ namespace Umbraco.Core.Services.Implement { foreach (var property in blueprint.Properties) { - content.SetValue(property.Alias, property.GetValue(culture), culture); + var propertyCulture = property.PropertyType.VariesByCulture() ? culture : null; + content.SetValue(property.Alias, property.GetValue(propertyCulture), propertyCulture); } content.Name = blueprint.Name;