diff --git a/Directory.Packages.props b/Directory.Packages.props
index 5f2a028c77..b00c78d638 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -5,35 +5,35 @@
-
+
-
+
-
-
-
-
-
-
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -48,7 +48,7 @@
-
+
@@ -59,24 +59,24 @@
-
-
-
-
+
+
+
+
-
-
-
+
+
+
-
-
+
+
-
-
-
+
+
+
-
+
@@ -85,10 +85,10 @@
-
+
-
+
-
+
\ No newline at end of file
diff --git a/global.json b/global.json
index a718288b1a..9c2a135743 100644
--- a/global.json
+++ b/global.json
@@ -1,6 +1,6 @@
{
"sdk": {
- "version": "9.0.100-preview.7.24407.12",
+ "version": "9.0.100-rc.1.24452.12",
"rollForward": "latestFeature",
"allowPrerelease": true
}
diff --git a/src/Umbraco.Cms.Api.Management/Mapping/PartialView/PartialViewViewModelsMapDefinition.cs b/src/Umbraco.Cms.Api.Management/Mapping/PartialView/PartialViewViewModelsMapDefinition.cs
index 97e241feff..53c1efeb3f 100644
--- a/src/Umbraco.Cms.Api.Management/Mapping/PartialView/PartialViewViewModelsMapDefinition.cs
+++ b/src/Umbraco.Cms.Api.Management/Mapping/PartialView/PartialViewViewModelsMapDefinition.cs
@@ -64,7 +64,7 @@ public class PartialViewViewModelsMapDefinition : IMapDefinition
{
target.Path = source.Path.SystemPathToVirtualPath();
target.Name = source.Name;
- target.Parent = source.ParentPath.IsNullOrEmpty()
+ target.Parent = string.IsNullOrEmpty(source.ParentPath)
? null
: new FileSystemFolderModel
{
diff --git a/src/Umbraco.Cms.Api.Management/Mapping/Script/ScriptViewModelsMapDefinition.cs b/src/Umbraco.Cms.Api.Management/Mapping/Script/ScriptViewModelsMapDefinition.cs
index 75096091c3..dae8bcf177 100644
--- a/src/Umbraco.Cms.Api.Management/Mapping/Script/ScriptViewModelsMapDefinition.cs
+++ b/src/Umbraco.Cms.Api.Management/Mapping/Script/ScriptViewModelsMapDefinition.cs
@@ -59,7 +59,7 @@ public class ScriptViewModelsMapDefinition : IMapDefinition
{
target.Path = source.Path.SystemPathToVirtualPath();
target.Name = source.Name;
- target.Parent = source.ParentPath.IsNullOrEmpty()
+ target.Parent = string.IsNullOrEmpty(source.ParentPath)
? null
: new FileSystemFolderModel
{
diff --git a/src/Umbraco.Cms.Api.Management/Mapping/Stylesheet/StylesheetviewModelsMapDefinition.cs b/src/Umbraco.Cms.Api.Management/Mapping/Stylesheet/StylesheetviewModelsMapDefinition.cs
index 30aa1651ec..65c1fe0be9 100644
--- a/src/Umbraco.Cms.Api.Management/Mapping/Stylesheet/StylesheetviewModelsMapDefinition.cs
+++ b/src/Umbraco.Cms.Api.Management/Mapping/Stylesheet/StylesheetviewModelsMapDefinition.cs
@@ -59,7 +59,7 @@ public class StylesheetViewModelsMapDefinition : IMapDefinition
{
target.Path = source.Path.SystemPathToVirtualPath();
target.Name = source.Name;
- target.Parent = source.ParentPath.IsNullOrEmpty()
+ target.Parent = string.IsNullOrEmpty(source.ParentPath)
? null
: new FileSystemFolderModel
{
diff --git a/tests/Directory.Packages.props b/tests/Directory.Packages.props
index c8e77d9603..629acca752 100644
--- a/tests/Directory.Packages.props
+++ b/tests/Directory.Packages.props
@@ -5,25 +5,23 @@
-
-
-
+
+
+
-
-
+
+
-
-
-
+
-
+
\ No newline at end of file
diff --git a/tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/PublishedContentQueryTests.cs b/tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/PublishedContentQueryTests.cs
index 08e4c20343..093e446adf 100644
--- a/tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/PublishedContentQueryTests.cs
+++ b/tests/Umbraco.Tests.Integration/Umbraco.Examine.Lucene/UmbracoExamine/PublishedContentQueryTests.cs
@@ -59,8 +59,8 @@ public class PublishedContentQueryTests : ExamineBaseTest
new Dictionary
{
[name] = "Hello world, there are products here",
- [UmbracoExamineFieldNames.VariesByCultureFieldName] = culture.IsNullOrEmpty() ? "n" : "y",
- [culture.IsNullOrEmpty() ? UmbracoExamineFieldNames.PublishedFieldName : $"{UmbracoExamineFieldNames.PublishedFieldName}_{culture}"] = "y"
+ [UmbracoExamineFieldNames.VariesByCultureFieldName] = string.IsNullOrEmpty(culture) ? "n" : "y",
+ [string.IsNullOrEmpty(culture) ? UmbracoExamineFieldNames.PublishedFieldName : $"{UmbracoExamineFieldNames.PublishedFieldName}_{culture}"] = "y"
}));
}
}