-
-
Notifications
You must be signed in to change notification settings - Fork 315
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
Clear current language when switching sites #2957
Clear current language when switching sites #2957
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2957 +/- ##
==========================================
+ Coverage 96.00% 96.02% +0.01%
==========================================
Files 232 233 +1
Lines 6282 6309 +27
==========================================
+ Hits 6031 6058 +27
Misses 251 251 ☔ View full report in Codecov by Sentry. |
c01a91e
to
e274774
Compare
@tvdeyen I don't mean to rush you but just wanted to make sure you saw this PR. I wondered if the codeclimate error caused you not to get alerted. I can't tell what the problem is there. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for tackling this nasty bug!
Could we try a simpler solution?
3a92315
to
9773f81
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Thanks
@dbwinger would you mind to update commit message now that we changed the implementation? |
9773f81
to
d6de41a
Compare
Done. |
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation and see the Github Action logs for details |
…is associated with the current site.
What is this pull request for?
If at least one site has multiple languages, after the language is switched in the admin/pages view, the language ID is saved to session, and switching to another site does not change the language in session, which causes that language's pages to continue to be shown.
Closes #2956
This should be backported at least to 7.1.
Checklist