In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
966 [In-Portal CMS] Front End bug report always 2011-01-12 10:52 2011-03-30 09:53
phil  
alex  
normal  
closed 5.1.2-B1  
fixed  
 
none 5.1.2-B2  
https://groups.google.com/d/topic/in-portal-bugs/9R47Pgm0olo/discussion
Fixes redirect loop after user registration
0
0000966: Redirect loop after user registration with email activation option enabled
I try the buy a product without being registered. I register and then click on link, that I received in email after registration. Then, once clicked on OK button on link from email, all website becomes unreachable, because of cookie redirection loop. I cannot display anymore anypage.

You should place product in shopping cart before registering to replicate.
User registration mode is set to "Email Activation".

Fixing plan:
1. create empty event (for hooking): "u:OnAfterLogin"
2. change all "after hooks" to "u:OnLogin" event to newly created "u:OnAfterLogin" event
3. call "u:OnAfterLogin" event, after user has been successfully logged in via UserHelper class help
patch email_autocomfirm_fix_core.patch (2,955) 2011-01-12 10:52
http://tracker.in-portal.org/file_download.php?file_id=911&type=bug
patch email_autocomfirm_fix_modules.patch (983) 2011-01-12 10:52
http://tracker.in-portal.org/file_download.php?file_id=912&type=bug
Issue History
2011-03-30 09:53 Dmitry Note Added: 0003331
2011-03-30 09:53 Dmitry Status resolved => closed
2011-02-15 10:53 alex Note Added: 0003258
2011-02-15 10:53 alex Status reviewed and tested => resolved
2011-02-15 10:53 alex Fixed in Version => 5.1.2-B2
2011-02-15 10:53 alex Resolution open => fixed
2011-02-15 10:53 alex Changeset attached 5.1.x r14198
2011-02-15 10:52 alex Changeset attached 5.1.x r14197
2011-02-15 10:50 alex Developer Dmitry => alex
2011-02-09 14:46 Dmitry Note Added: 0003228
2011-02-09 14:46 Dmitry Assigned To Dmitry => alex
2011-02-09 14:46 Dmitry Status needs testing => reviewed and tested
2011-02-09 14:45 Dmitry Assigned To alex => Dmitry
2011-02-09 14:45 Dmitry Developer alex => Dmitry
2011-02-09 14:45 Dmitry Status needs work => needs testing
2011-02-09 14:30 Dmitry Note Added: 0003227
2011-02-09 14:30 Dmitry Assigned To !COMMUNITY => alex
2011-02-09 14:30 Dmitry Status needs testing => needs work
2011-01-15 03:56 alex Additional Information Updated bug_revision_view_page.php?rev_id=659#r659
2011-01-12 10:56 alex Assigned To => !COMMUNITY
2011-01-12 10:56 alex Developer => alex
2011-01-12 10:56 alex Status active => needs testing
2011-01-12 10:56 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/9R47Pgm0olo/discussion
2011-01-12 10:52 alex Reporter alex => phil
2011-01-12 10:52 alex File Added: email_autocomfirm_fix_modules.patch
2011-01-12 10:52 alex New Issue
2011-01-12 10:52 alex File Added: email_autocomfirm_fix_core.patch
2011-01-12 10:52 alex Change Log Message => Fixes redirect loop after user registration

Notes
(0003227)
Dmitry   
2011-02-09 14:30   
Looks like patch is not properly working when I just want to do regular User Registration on the Front-End.

I have tries in all 3 browsers on Advanced theme (all modules installed). In all cases once Register button is clicked page just stays Loading... without a redirect to a next page as before the patch.
(0003228)
Dmitry   
2011-02-09 14:46   
Sorry for the prev. issue - it was on my end.

It's all tested good. Please commit.
(0003258)
alex   
2011-02-15 10:53   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000966: Redirect loop after user registration with email activation option enabled
(0003331)
Dmitry   
2011-03-30 09:53   
Closing, since 5.1.2 release has been released.