diff --git a/build/azure-pipelines.yml b/build/azure-pipelines.yml index 3d2b10e614..b088c273f2 100644 --- a/build/azure-pipelines.yml +++ b/build/azure-pipelines.yml @@ -5,7 +5,7 @@ parameters: displayName: Run SQL Server Integration Tests type: boolean default: false - - name: sqlServerAcceptanceTests + - name: sqlServerAcceptanceTests displayName: Run SQL Server Acceptance Tests type: boolean default: false @@ -51,7 +51,7 @@ parameters: default: false variables: - nodeVersion: 20.10.x + nodeVersion: 20 solution: umbraco.sln buildConfiguration: Release UMBRACO__CMS__GLOBAL__ID: 00000000-0000-0000-0000-000000000042 @@ -287,7 +287,7 @@ stages: pool: vmImage: $(vmImage) variables: - Tests__Database__DatabaseType: 'Sqlite' + Tests__Database__DatabaseType: 'Sqlite' steps: # Setup test environment - task: DownloadPipelineArtifact@2 diff --git a/src/Umbraco.Infrastructure/PropertyEditors/NestedPropertyIndexValueFactoryBase.cs b/src/Umbraco.Infrastructure/PropertyEditors/NestedPropertyIndexValueFactoryBase.cs index a675b38b2c..173b5eb693 100644 --- a/src/Umbraco.Infrastructure/PropertyEditors/NestedPropertyIndexValueFactoryBase.cs +++ b/src/Umbraco.Infrastructure/PropertyEditors/NestedPropertyIndexValueFactoryBase.cs @@ -112,7 +112,8 @@ internal abstract class NestedPropertyIndexValueFactoryBase published, propertyTypeDictionary, nestedContentRowValue, - availableCultures)); + availableCultures, + contentTypeDictionary)); index++; } @@ -213,7 +214,8 @@ internal abstract class NestedPropertyIndexValueFactoryBase bool published, IDictionary propertyTypeDictionary, TItem nestedContentRowValue, - IEnumerable availableCultures) + IEnumerable availableCultures, + IDictionary contentTypeDictionary) { foreach ((var propertyAlias, var propertyValue) in GetRawProperty(nestedContentRowValue)) { @@ -238,7 +240,7 @@ internal abstract class NestedPropertyIndexValueFactoryBase subProperty.PublishValues(availableCulture, segment ?? "*"); } indexValues = - editor.PropertyIndexValueFactory.GetIndexValues(subProperty, availableCulture, segment, published, availableCultures); + editor.PropertyIndexValueFactory.GetIndexValues(subProperty, availableCulture, segment, published, availableCultures, contentTypeDictionary); } } else @@ -248,7 +250,7 @@ internal abstract class NestedPropertyIndexValueFactoryBase { subProperty.PublishValues(culture ?? "*", segment ?? "*"); } - indexValues = editor.PropertyIndexValueFactory.GetIndexValues(subProperty, culture, segment, published, availableCultures); + indexValues = editor.PropertyIndexValueFactory.GetIndexValues(subProperty, culture, segment, published, availableCultures, contentTypeDictionary); } foreach ((var nestedAlias, IEnumerable nestedValue) in indexValues) diff --git a/src/Umbraco.Web.Common/Extensions/ImageCropperTemplateCoreExtensions.cs b/src/Umbraco.Web.Common/Extensions/ImageCropperTemplateCoreExtensions.cs index 676b05317e..ee89a7e807 100644 --- a/src/Umbraco.Web.Common/Extensions/ImageCropperTemplateCoreExtensions.cs +++ b/src/Umbraco.Web.Common/Extensions/ImageCropperTemplateCoreExtensions.cs @@ -520,7 +520,7 @@ public static class ImageCropperTemplateCoreExtensions throw new ArgumentNullException(nameof(mediaItem)); } - if (mediaItem.HasProperty(propertyAlias) == false || mediaItem.HasValue(propertyAlias) == false) + if (mediaItem.HasProperty(propertyAlias) == false || mediaItem.HasValue(publishedValueFallback, propertyAlias) == false) { return null; }