AAD Web Team Posted April 4 Share Posted April 4 Hello all. We've notived a potential bug with redirects that go to a restricted page (a page that guests cannot view, and the user is currently not logged in). We have a page that contains a form that people can use to post news items to a section of our site (like a noticeboard). This page template requires to used to be logged in so we can atrribute the post to the user. We've noticed that if the link to this page is a redirect (due to the page moving and the PagePathHistory module being installed), then rather than direct the user to login, it presents a 404 page instead. Normal behaviour is clicking a link to the this page will send to user to login, once a successful login is made it continue them onto the restricted page they were trying to access. Is this a potential bug or could we be doing something different to prevent this? Link to comment Share on other sites More sharing options...
AAD Web Team Posted April 4 Author Share Posted April 4 We've just confirmed this also happens when manually setting a redirect in a page's settings via the admin panel. So perhaps it's due to the way the core handles redirects? Link to comment Share on other sites More sharing options...
wbmnfktr Posted April 6 Share Posted April 6 What's in your access/role settings set for that template and behaviour? In case option A is set, the behaviour is correct. Link to comment Share on other sites More sharing options...
AAD Web Team Posted April 7 Author Share Posted April 7 On 4/7/2024 at 5:45 AM, wbmnfktr said: What's in your access/role settings set for that template and behaviour? In case option A is set, the behaviour is correct. Thanks @wbmnfktr- I checked and the template is set to Option B: Show the Login page:... Link to comment Share on other sites More sharing options...
wbmnfktr Posted April 8 Share Posted April 8 Sad to hear. I was hoping this would fix your issue. Link to comment Share on other sites More sharing options...
AAD Web Team Posted April 16 Author Share Posted April 16 On 4/12/2024 at 9:42 PM, RileyBennett said: Any update about it, is it solved? This is still an ongoing issue for us. We want to try testing it on some of our other sites as well. Was more just checking if anyone else had ran into the issue before. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now