diff --git a/src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs b/src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs index 4a4d2e5fcd..4737ab74e5 100644 --- a/src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs +++ b/src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs @@ -332,7 +332,7 @@ namespace Umbraco.Web.PublishedCache.XmlPublishedCache { // so in dd.Properties, there is an IPublishedProperty with property type alias "__NodeTypeAlias" and // that special property would contain the node type alias, which we use to get "aliases & names". That - // special property is going to be a PropertyResult (with ObjectValue == DataValue) and we + // special property is going to be a PropertyResult (with Value == DataValue) and we // want its value in the most simple way = it is OK to use DataValue here. var aliasesAndNames = ContentType.GetAliasesAndNames(dd.Properties.First(x => x.PropertyTypeAlias.InvariantEquals(UmbracoContentIndexer.NodeTypeAliasFieldName)).DataValue.ToString()); if (aliasesAndNames != null) diff --git a/src/Umbraco.Web/umbraco.presentation/library.cs b/src/Umbraco.Web/umbraco.presentation/library.cs index f413d84d1f..0430fb5940 100644 --- a/src/Umbraco.Web/umbraco.presentation/library.cs +++ b/src/Umbraco.Web/umbraco.presentation/library.cs @@ -361,9 +361,9 @@ namespace umbraco // where prop.Value is parsed for internal links + resolve urls - but not for macros // comments say "fixing U4-917 and U4-821" which are not related // if we return DataValue.ToString() we're back to the original situation - // if we return ObjectValue.ToString() we'll have macros parsed and that's nice + // if we return Value.ToString() we'll have macros parsed and that's nice // - // so, use ObjectValue.ToString() here. + // so, use Value.ToString() here. var prop = doc.GetProperty(alias); return prop == null ? string.Empty : prop.Value.ToString(); }