PublishedContent - align with v7, refactor IPropertyValueConverter

This commit is contained in:
Stephan
2013-09-19 12:06:37 +02:00
parent dd16af0989
commit f9cae9c4d8
16 changed files with 86 additions and 147 deletions

View File

@@ -419,7 +419,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache
_properties = _contentType.PropertyTypes.Select(p =>
{
XmlNode n;
return propertyNodes.TryGetValue(p.Alias.ToLowerInvariant(), out n)
return propertyNodes.TryGetValue(p.PropertyTypeAlias.ToLowerInvariant(), out n)
? new XmlPublishedProperty(p, _isPreviewing, n)
: new XmlPublishedProperty(p, _isPreviewing);
}).Cast<IPublishedProperty>().ToArray();