In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1099 [In-Portal CMS] Front End bug report always 2011-08-17 04:04 2011-09-19 16:08
alex  
alex  
normal  
closed 5.1.3-RC2  
fixed  
 
none 5.1.3  
https://groups.google.com/d/topic/in-portal-bugs/4YF5jcFTQwQ/discussion
Fixes non-working redirect after login when "Remember Login" checkbox used on a login form
0
0001099: Redirect to "my_account" page isn't performed when "Remember Login" checkbox is checked on login form
In-Portal a "Remember Login" checkbox on Front-end login form. It keeps user logged-in for a 1 month. It's very useful when:

* you work with a website a lot
* using a computer in a non-public area
* don't won't to login every time you open a browser

When you are trying to access a login-required page (page, that requires user to be logged-in before accessing that page), then you are redirected to a login page and after a successful login you got redirected back to a page you were intended to visit.

Unfortunately this doesn't work, when "Remember Login" checkbox is checked on that login form.
patch login_redirect_doesnt_happen_with_remember_login_checkbox_used.patch (714) 2011-08-17 04:04
http://tracker.in-portal.org/file_download.php?file_id=1103&type=bug
Issue History
2011-09-19 16:08 alex Note Added: 0003785
2011-09-19 16:08 alex Status resolved => closed
2011-09-03 09:38 alex Note Added: 0003715
2011-09-03 09:38 alex Status reviewed and tested => resolved
2011-09-03 09:38 alex Fixed in Version => 5.1.3
2011-09-03 09:38 alex Resolution open => fixed
2011-09-03 09:38 alex Assigned To !COMMUNITY => alex
2011-09-03 09:38 alex Changeset attached 5.1.x r14516
2011-09-02 17:29 Dmitry Note Added: 0003703
2011-09-02 17:29 Dmitry Status needs testing => reviewed and tested
2011-08-24 02:16 alex Note Added: 0003685
2011-08-24 02:16 alex Assigned To alex => !COMMUNITY
2011-08-24 02:16 alex Status needs feedback => needs testing
2011-08-23 18:02 Dmitry Note Added: 0003683
2011-08-23 18:02 Dmitry Assigned To !COMMUNITY => alex
2011-08-23 18:02 Dmitry Status needs testing => needs feedback
2011-08-17 04:05 alex Assigned To => !COMMUNITY
2011-08-17 04:05 alex Developer => alex
2011-08-17 04:05 alex Status active => needs testing
2011-08-17 04:05 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/4YF5jcFTQwQ/discussion
2011-08-17 04:04 alex New Issue
2011-08-17 04:04 alex File Added: login_redirect_doesnt_happen_with_remember_login_checkbox_used.patch
2011-08-17 04:04 alex Change Log Message => Fixes non-working redirect after login when "Remember Login" checkbox used on a login form

Notes
(0003683)
Dmitry   
2011-08-23 18:02   
Not sure what is the difference here in the patch between the old one and new.
(0003685)
alex   
2011-08-24 02:16   
For example do this:
1. open "My Links" page, while you're logged in
2. copy that url to clipboard
3. perform logout
4. paste url from clipboard into browser and open it
5. witness, that you're got redirected to "login/register page" and "next_template" parameter in url indicates original page url (from clipboard)
6. after you perform login you'll end up on correct page (that one from clipboard)


Without this patch applied try clicking "Remember Login" checkbox and do the same as above. You'll end up on same "login/register page" or on "home page" instead of correct page (6th item redirect broken).

(0003703)
Dmitry   
2011-09-02 17:29   
Tested good, please commit
(0003715)
alex   
2011-09-03 09:38   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0001099: Redirect to "my_account" page isn't performed when "Remember Login" checkbox is checked on login form
(0003785)
alex   
2011-09-19 16:08   
Closing, since 5.1.3 release has been released.