Make sure to use the specified content template name when creating content templates from content

This commit is contained in:
Kenn Jacobsen
2019-02-27 19:00:44 +01:00
committed by Sebastiaan Janssen
parent 16322bed31
commit 86c56ae844

View File

@@ -2889,15 +2889,12 @@ namespace Umbraco.Core.Services.Implement
content.SetValue(property.Alias, property.GetValue(propertyCulture), propertyCulture);
}
content.Name = blueprint.Name;
if (!string.IsNullOrEmpty(culture))
{
content.SetCultureInfo(culture, blueprint.GetCultureName(culture), now);
}
}
return content;
}