Fix up the missing nulls & ammend the mapping

This commit is contained in:
Warren Buckley
2019-11-12 14:50:43 +00:00
parent bbcdcbdde0
commit 05c1f0f389

View File

@@ -60,6 +60,11 @@ namespace Umbraco.Web.Models.Mapping
target.Comment = source.Comment;
target.CreateDate = source.CreateDate;
target.ParentId = source.ParentId;
var entities = _relationService.GetEntitiesFromRelation(source);
target.ParentName = entities.Item1.Name;
target.ChildName = entities.Item2.Name;
}
// Umbraco.Code.MapAll -CreateDate -UpdateDate -DeleteDate