diff --git a/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs b/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs index c62fa387c0..add248ffe5 100644 --- a/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs +++ b/src/Umbraco.Web/Models/Mapping/ContentMapDefinition.cs @@ -64,7 +64,8 @@ namespace Umbraco.Web.Models.Mapping // Umbraco.Code.MapAll private static void Map(IContent source, ContentPropertyCollectionDto target, MapperContext context) { - target.Properties = source.Properties.Select(context.Mapper.Map); + // must pass the context through + target.Properties = source.Properties.Select(p => context.Mapper.Map(p, context)); } // Umbraco.Code.MapAll -AllowPreview -Errors -PersistedContent