Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V13: Eaglery route domains for virtual page controllers #16635

Merged
merged 3 commits into from
Jun 20, 2024

Conversation

nikolajlauridsen
Copy link
Contributor

Fixes #16626

This was caused because the Thread.CurrentThread.CurrentUICulture is set by UmbracoPublishedContentCultureProvider which runs before any of the filters, meaning that CurrentUICulture was never set correctly, so to fix this I've made the EagerMatcherPolicy detect if it's a UmbracoPageController and then do the domain routing and setting a dummy UmbracoRouteValues which is then used to assign the correct CurrentUICulture by the UmbracoPublishedContentCultureProvider.

@bergmania bergmania merged commit 00ca9e0 into v13/dev Jun 20, 2024
11 of 16 checks passed
@bergmania bergmania deleted the v13/fix/virtual-page-culture-fix branch June 20, 2024 09:25
Zeegaan pushed a commit that referenced this pull request Jun 20, 2024
* Do domain routing eagerly

* Cleanup

* Fix comment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants