From 7f0ff70ca936af8d809448e54836fb4cb061ce0a Mon Sep 17 00:00:00 2001 From: Shannon Deminick Date: Mon, 12 Nov 2012 09:20:54 +0500 Subject: [PATCH] Fixes: #U4-1132, this is a bit of a hack fix because the Media should include creatorName/id but it doesn't. --- src/Umbraco.Web/DefaultPublishedMediaStore.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Umbraco.Web/DefaultPublishedMediaStore.cs b/src/Umbraco.Web/DefaultPublishedMediaStore.cs index 35a5b30c3f..dde6248565 100644 --- a/src/Umbraco.Web/DefaultPublishedMediaStore.cs +++ b/src/Umbraco.Web/DefaultPublishedMediaStore.cs @@ -329,9 +329,9 @@ namespace Umbraco.Web ValidateAndSetProperty(valueDictionary, val => DocumentTypeAlias = val, "nodeTypeAlias", "__NodeTypeAlias"); ValidateAndSetProperty(valueDictionary, val => DocumentTypeId = int.Parse(val), "nodeType"); ValidateAndSetProperty(valueDictionary, val => WriterName = val, "writerName"); - ValidateAndSetProperty(valueDictionary, val => CreatorName = val, "creatorName"); + ValidateAndSetProperty(valueDictionary, val => CreatorName = val, "creatorName", "writerName"); //this is a bit of a hack fix for: U4-1132 ValidateAndSetProperty(valueDictionary, val => WriterId = int.Parse(val), "writerID"); - ValidateAndSetProperty(valueDictionary, val => CreatorId = int.Parse(val), "creatorID"); + ValidateAndSetProperty(valueDictionary, val => CreatorId = int.Parse(val), "creatorID", "writerID"); //this is a bit of a hack fix for: U4-1132 ValidateAndSetProperty(valueDictionary, val => Path = val, "path", "__Path"); ValidateAndSetProperty(valueDictionary, val => CreateDate = DateTime.Parse(val), "createDate"); ValidateAndSetProperty(valueDictionary, val => UpdateDate = DateTime.Parse(val), "updateDate");