Fixes #7798 : Invalid implementation of IEnumerable in Content Cache

This commit is contained in:
Olivier Bossaer
2020-03-21 16:49:14 +01:00
committed by Sebastiaan Janssen
parent 51d7ce0dc6
commit ff2027df07
2 changed files with 13 additions and 3 deletions

View File

@@ -355,6 +355,7 @@ namespace Umbraco.Web.PublishedCache.NuCache
private static IEnumerable<IPublishedContent> GetByXPath(XPathNodeIterator iterator)
{
iterator = iterator.Clone();
while (iterator.MoveNext())
{
var xnav = iterator.Current as NavigableNavigator;