OrchardCMS / OrchardCore

Orchard Core is an open-source modular and multi-tenant application framework built with ASP.NET Core, and a content management system (CMS) built on top of that framework.
https://orchardcore.net
BSD 3-Clause "New" or "Revised" License
7.35k stars 2.37k forks source link

ContentRequestCultureProvider does not work for default content routes #5319

Open jptissot opened 4 years ago

jptissot commented 4 years ago

It works only for content that have an autoroute but does not work when using the default content url.

Piedone commented 4 months ago

Specifically, ContentCulturePickerService.GetContentItemIdFromRouteAsync(PathString url) gives up if the current URL is not a homeroute or an Autoroute route.

hishamco commented 4 months ago

Why?

Piedone commented 4 months ago

You have to ask the author of that pice of code.