Merge branch 'v15/dev' into contrib

This commit is contained in:
Sebastiaan Janssen
2024-09-27 09:09:18 +02:00
339 changed files with 14071 additions and 1046 deletions

View File

@@ -100,6 +100,7 @@ public class UmbracoRouteValueTransformer : DynamicRouteValueTransformer
}
// Check if there is no existing content and return the no content controller
// FIXME: This should be changed to route cache, so instead, if there are any routes, we know there is content.
if (!umbracoContext.Content?.HasContent() ?? false)
{
return new RouteValueDictionary

View File

@@ -12,6 +12,10 @@
and remove these overrides -->
<WarningsNotAsErrors>ASP0019,CS0618,SA1401,SA1649,IDE0270,IDE1006</WarningsNotAsErrors>
</PropertyGroup>
<PropertyGroup>
<!-- TODO: Fix all warnings and remove this override -->
<TreatWarningsAsErrors>false</TreatWarningsAsErrors>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Umbraco.Web.Common\Umbraco.Web.Common.csproj" />
</ItemGroup>