-
Notifications
You must be signed in to change notification settings - Fork 753
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Resolved an issue where the wrong RedirectAfter tabs were showing for localized sites. #4851
Conversation
…r localized sites. The settings for the current portal alias local where returned to the UI instead of the requested language picked in the Page Settings editor. This caused an issue where you would get let's say the english tabs for a french site settings if the last page you happend to visit was english instead of french. The user would then save any setting and all the RedirectAfters would save the wrong thing for that locale. Closes dnnsoftware#4232 Closes dnnsoftware#4260
For reviewers, the first commit is the fix and the second commit cleans this file a bit to reduce about 200 warnings. |
Pulled this one locally seems to fix the issue on my site that was multi language. Do we think this fixes it for others too? |
This kinda fixes two things
So I do believe this should fix both problems. |
…is bug in the wrong place
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.
Awesome find and fix @valadas 🎉
Dnn.AdminExperience/Dnn.PersonaBar.Extensions/Services/SiteSettingsController.cs
Outdated
Show resolved
Hide resolved
This is a follow up on dnnsoftware#4851 All my testing had been done on a localized site and after having those settings exist in the database. @david-poindexter just found out it was problematic on a clean install as those settings simply do not exists and the code failed getting those settings values from the dictionary of settings. This PR solves that.
This is a follow up on #4851 All my testing had been done on a localized site and after having those settings exist in the database. @david-poindexter just found out it was problematic on a clean install as those settings simply do not exists and the code failed getting those settings values from the dictionary of settings. This PR solves that.
The settings for the current portal alias local were returned to the UI instead of the requested language picked in the Page Settings editor. This caused an issue where you would get let's say the English tabs for a french site setting if the last page you happened to visit was English instead of french. The user would then save any setting and all the RedirectAfters would save the wrong thing for that locale.
Closes #4232
Closes #4260