-
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
Login/logout redirection tabs are defaulting to 0 instead of -1 #4260
Comments
I can confirm this in v9.8. I had to change the redirect drop-downs to home and then back to to resolve. |
We had this happen today on a large ecommerce site running 9.8.0. It was a major issue with no clear cause. Switching redirects in site settings to home, saving, then switching back to none specified fixed it. It was happening after login, logout, and registration. |
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
@valadas has this been fixed meanwhile, do you know? |
I am really not sure, I know I have a strange issue after login/logout on a clean 9.9.1 site but did not have time to dig into the details yet. |
We have detected this issue has not had any activity during the last 90 days. That could mean this issue is no longer relevant and/or nobody has found the necessary time to address the issue. We are trying to keep the list of open issues limited to those issues that are relevant to the majority and to close the ones that have become 'stale' (inactive). If no further activity is detected within the next 14 days, the issue will be closed automatically. |
This issue has been closed automatically due to inactivity (as mentioned 14 days ago). Feel free to re-open the issue if you believe it is still relevant. |
I reopened this as I want to try to handle that for 9.10.2 time permitting |
…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
…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 #4232 Closes #4260
Description of bug
After login/logout redirection settings were migrated to Site Settings (#3845), there is an issue when saving.
When other settings in the panel are changed but
Redirect After Login/Logout
are left untouched, their default values are set to 0, instead of -1. This causes DNN to navigate to tab ID 0 after logout, causing a 404:http://platform-9-7-1.dnndev.me/tabid/0/Default.aspx
Notice the tabid/0 part of the URL.
Upon further investigation, I noticed that these values are
null
in the front-end, and converted to0
in the back-end when cast to integers.Steps to reproduce
Current behavior
DNN redirects to
/tabid/0/Default.aspx
after logout, causing a 404.Expected behavior
DNN should redirect to the home page.
Screenshots
Error information
N/A
Additional context
N/A
Affected version
Affected browser
The text was updated successfully, but these errors were encountered: