Merge branch 'release/17.0'

# Conflicts:
#	src/Umbraco.Infrastructure/Migrations/Upgrade/UmbracoPlan.cs
#	version.json
This commit is contained in:
Andy Butland
2025-12-01 19:06:16 +01:00
5 changed files with 11 additions and 15 deletions

View File

@@ -187,10 +187,10 @@ internal sealed class PublishedProperty : PublishedPropertyBase
switch (cacheLevel)
{
case PropertyCacheLevel.None:
case PropertyCacheLevel.Snapshot: // Snapshot is obsolete, so for now treat as None
// never cache anything
cacheValues = new CacheValues();
break;
case PropertyCacheLevel.Snapshot: // Snapshot is obsolete, so for now treat as element
case PropertyCacheLevel.Element:
// cache within the property object itself, ie within the content object
cacheValues = _cacheValues ??= new CacheValues();