In-Portal Issue Tracker - In-Commerce
Viewing Issue Advanced Details
659 [In-Portal CMS] Front End bug report always 2010-03-27 17:20 2011-06-18 04:24
alex  
alex  
normal  
closed 5.0.3-B1  
fixed  
 
none 5.0.4-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/198c1d40484895f5
0
0000659: Order thank you screen and session expiration problem
When you are on other thank you page (after checkout is complete) and then you go drink so tee for an 2 hours or so, then when you return session expiration happens or not happens. Anyway session is dead by then. On that thank you template, when order contents is printed it's ID is retrieved from session via "front_order_id" variable. When session is gone, then ID is gone too, so instead of products in order we are getting all possible products from database which most likely will end up with fatal error about too much memory being used by the script.

I propose to use FAKE_ORDER_ID constant as order id in case, when ID in session is lost. This will give us empty order and no errors.
child of 0000029closed  (5.0.1)alex For each pending order one more incomplete order is created. 
patch order_thank_you_screen_fix.patch (679) 2010-05-19 07:24
http://tracker.in-portal.org/file_download.php?file_id=566&type=bug
Issue History
2011-06-18 04:24 alex Relationship added child of 0000029
2010-06-10 13:44 alex Note Added: 0002414
2010-06-10 13:44 alex Status resolved => closed
2010-05-19 12:50 alex Note Added: 0002261
2010-05-19 12:50 alex Status reviewed and tested => resolved
2010-05-19 12:50 alex Fixed in Version => 5.0.4-B1
2010-05-19 12:50 alex Resolution open => fixed
2010-05-19 12:50 alex Changeset attached 5.0.x r13589
2010-05-19 12:03 Dmitry Note Added: 0002258
2010-05-19 12:03 Dmitry Assigned To Dmitry => alex
2010-05-19 12:03 Dmitry Status needs testing => reviewed and tested
2010-05-19 07:24 alex Assigned To => Dmitry
2010-05-19 07:24 alex Developer => alex
2010-05-19 07:24 alex Status active => needs testing
2010-05-19 07:24 alex File Added: order_thank_you_screen_fix.patch
2010-03-27 17:20 alex New Issue
2010-03-27 17:20 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/198c1d40484895f5

Notes
(0002258)
Dmitry   
2010-05-19 12:03   
Tested good - please commit!
(0002261)
alex   
2010-05-19 12:50   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000659: Order thank you screen and session expiration problem
(0002414)
alex   
2010-06-10 13:44   
Closing since version 5.0.4 is released.