From 5c33c6fbf6728ea5c0da25c853dc03bb224deb35 Mon Sep 17 00:00:00 2001
From: Jacob Overgaard <752371+iOvergaard@users.noreply.github.com>
Date: Thu, 1 Feb 2024 15:36:37 +0100
Subject: [PATCH 1/5] Login assets should be built independently of the
Backoffice (#15668)
* picked from v14/dev to distinguish between Belle and Login so the correct assets are being built when you run Umbraco.Web.UI
* syntax
---
.../Umbraco.Cms.StaticAssets.csproj | 36 +++++++++++++++----
1 file changed, 29 insertions(+), 7 deletions(-)
diff --git a/src/Umbraco.Cms.StaticAssets/Umbraco.Cms.StaticAssets.csproj b/src/Umbraco.Cms.StaticAssets/Umbraco.Cms.StaticAssets.csproj
index d2db9b11eb..f973b22fc6 100644
--- a/src/Umbraco.Cms.StaticAssets/Umbraco.Cms.StaticAssets.csproj
+++ b/src/Umbraco.Cms.StaticAssets/Umbraco.Cms.StaticAssets.csproj
@@ -12,34 +12,56 @@
- $(ProjectDir)wwwroot\umbraco
+ $(ProjectDir)wwwroot\umbraco
+ $(BasePath)\lib
+ $(BasePath)\login
-
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
+
+
+
+
+
-
+
-
+
+
+
+
+
+
+
+
From 1e72b1cf0bc30bbd27c6f6a35fbe0bf83746037a Mon Sep 17 00:00:00 2001
From: Sven Geusens
Date: Fri, 2 Feb 2024 08:22:51 +0100
Subject: [PATCH 2/5] Fixed nested RTE's index method not being called due to
obsolete fallbacks (#15670)
Co-authored-by: Sven Geusens
---
.../NestedPropertyIndexValueFactoryBase.cs | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
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