Revert various changes

This commit is contained in:
Stephan
2018-05-08 15:57:28 +02:00
parent 6051891280
commit b1faade9b0
6 changed files with 58 additions and 28 deletions

View File

@@ -53,11 +53,6 @@ namespace Umbraco.Web.Models.Mapping
//a language Id needs to be set for a property type that can be varried by language
throw new InvalidOperationException($"No languageId found in mapping operation when one is required for the culture neutral property type {property.PropertyType.Alias}");
}
if (property.PropertyType.Variations == ContentVariation.InvariantNeutral)
{
culture = null;
}
var result = new TDestination
{