Skip to content

Commit ddd0e8a

Browse files
author
Stephan
committed
Bugfix media cache property alias case sensitivity
1 parent e07f573 commit ddd0e8a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Umbraco.Web/PublishedCache/XmlPublishedCache/PublishedMediaCache.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ private IPublishedContentProperty GetProperty(DictionaryPublishedContent dd, str
328328
//lets check if the alias does not exist on the document.
329329
//NOTE: Examine will not index empty values and we do not output empty XML Elements to the cache - either of these situations
330330
// would mean that the property is missing from the collection whether we are getting the value from Examine or from the library media cache.
331-
if (dd.Properties.All(x => x.PropertyTypeAlias != alias))
331+
if (dd.Properties.All(x => x.PropertyTypeAlias.InvariantEquals(alias) == false))
332332
{
333333
return null;
334334
}

0 commit comments

Comments
 (0)