In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
828 [In-Portal CMS] Front End bug report always 2010-08-14 09:00 2010-11-30 12:48
alex  
alex  
normal  
closed 5.1.0  
fixed  
 
none 5.1.1-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/91969fd9f96fee18
0
0000828: Auto-redirect from non-mod-rewrite url becomes very unstable
We have invented new feature in 5.1.0 release. It works this way: when someone visits page using url like /index.php?env=... and mod-rewrite is turned on, then he got redirected to same page, but with correct mod-rewrited url.

Seems quite harmless, but lately it became quite a problem:

    * unable to delete files uploaded via flash uploader (on front-end)
    * I always got top menu instead of sub-menus (on front-end)

I propose we disable it for now and think about it some time later, but before 5.2.0 release.
child of 0000548closed  (5.1.0)alex Automatic mod-rewrite redirecting 
patch disable_redirect_from_non_rewrite_urls.patch (894) 2010-08-14 09:00
http://tracker.in-portal.org/file_download.php?file_id=715&type=bug
patch redirect_to_rewrited_url_fix_core.patch (9,648) 2010-08-21 10:52
http://tracker.in-portal.org/file_download.php?file_id=719&type=bug
patch redirect_to_rewrited_url_fix_modules.patch (711) 2010-08-21 10:53
http://tracker.in-portal.org/file_download.php?file_id=720&type=bug
Issue History
2010-11-30 12:48 Dmitry Note Added: 0003078
2010-11-30 12:48 Dmitry Status resolved => closed
2010-08-28 15:39 alex Note Added: 0002706
2010-08-28 15:39 alex Status reviewed and tested => resolved
2010-08-28 15:39 alex Fixed in Version => 5.1.1-B1
2010-08-28 15:39 alex Resolution open => fixed
2010-08-28 15:39 alex Changeset attached 5.1.x r13874
2010-08-28 15:34 alex Changeset attached 5.1.x r13873
2010-08-28 15:33 alex Developer Dmitry => alex
2010-08-26 17:40 Dmitry Note Added: 0002672
2010-08-26 17:40 Dmitry Assigned To Dmitry => alex
2010-08-26 17:40 Dmitry Status needs testing => reviewed and tested
2010-08-26 17:37 Dmitry Assigned To alex => Dmitry
2010-08-26 17:37 Dmitry Developer alex => Dmitry
2010-08-26 17:37 Dmitry Status needs work => needs testing
2010-08-26 17:21 Dmitry Target Version 5.1.1-B1 => 5.1.1
2010-08-26 16:50 Dmitry Note Added: 0002665
2010-08-26 16:50 Dmitry Assigned To !COMMUNITY => alex
2010-08-26 16:50 Dmitry Status needs testing => needs work
2010-08-21 10:59 alex Relationship added child of 0000548
2010-08-21 10:54 alex Issue Monitored: Dmitry
2010-08-21 10:54 alex Note Added: 0002659
2010-08-21 10:53 alex File Added: redirect_to_rewrited_url_fix_modules.patch
2010-08-21 10:52 alex File Added: redirect_to_rewrited_url_fix_core.patch
2010-08-14 09:01 alex Note Added: 0002657
2010-08-14 09:01 alex Assigned To => !COMMUNITY
2010-08-14 09:01 alex Developer => alex
2010-08-14 09:01 alex Status active => needs testing
2010-08-14 09:00 alex New Issue
2010-08-14 09:00 alex File Added: disable_redirect_from_non_rewrite_urls.patch
2010-08-14 09:00 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/91969fd9f96fee18

Notes
(0002657)
alex   
2010-08-14 09:01   
Try to visit page using non-mod-rewrite url, when mod-rewrite is enabled on the site. If none redirect happens, then it's ok.
(0002659)
alex   
2010-08-21 10:54   
Reminder sent to: Dmitry

I was able to keep fix automatic redirect problem without disabling it for good.

Please use last 2 patches for testing.
(0002665)
Dmitry   
2010-08-26 16:50   
I am not able to apply MODULES path. SVN client can't find "units/sections/section_eh.php" file you are patching. Please specify which module it belongs to or full file path.
(0002672)
Dmitry   
2010-08-26 17:40   
Reviewed and tested good (with Flash uploader on Front-end)

PS. found correct source file under In-Commerce module.
(0002706)
alex   
2010-08-28 15:39   
Fix committed to 5.1.x branch. Commit Message:

Fixes 0000828: Auto-redirect from non-mod-rewrite url becomes very unstable
(0003078)
Dmitry   
2010-11-30 12:48   
Closing released 5.1.1 task.