In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
539 [In-Portal CMS] Front End bug report always 2010-01-12 10:44 2011-03-14 02:10
alex  
alex  
normal  
closed 5.0.2  
fixed  
 
none 5.0.3-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9146dc4d5a2a76cc
0
0000539: Incorrect rewrite listener processing order
Rewrite listeners are processed in reversed order during url building. During url parsing all seems to be normal, except for rewrite listeners are sorted using string logic, not numbers.
child of 0000098closed  (5.0.1)alex Redo Mod-Rewrite for Better Flexibility 
patch rewrite_listener_ordering_fix.patch (1,207) 2010-01-12 10:44
http://tracker.in-portal.org/file_download.php?file_id=218&type=bug
zip custom.zip (2,585) 2010-03-11 06:10
http://tracker.in-portal.org/file_download.php?file_id=339&type=bug
Issue History
2011-03-14 02:10 alex Relationship added child of 0000098
2010-05-11 03:00 alex Note Added: 0002139
2010-05-11 03:00 alex Status resolved => closed
2010-03-17 03:46 alex Note Added: 0001657
2010-03-17 03:46 alex Status reviewed and tested => resolved
2010-03-17 03:46 alex Fixed in Version => 5.0.3-B1
2010-03-17 03:46 alex Resolution open => fixed
2010-03-17 03:46 alex Assigned To !COMMUNITY => alex
2010-03-17 03:46 alex Changeset attached 5.0.x r13242
2010-03-15 19:25 Dmitry Assigned To Dmitry => !COMMUNITY
2010-03-15 19:25 Dmitry Developer Dmitry => alex
2010-03-15 19:24 Dmitry Note Added: 0001655
2010-03-15 19:24 Dmitry Status needs testing => reviewed and tested
2010-03-15 19:24 Dmitry Developer alex => Dmitry
2010-03-15 19:24 Dmitry Status needs work => needs testing
2010-03-15 19:24 Dmitry Status needs feedback => needs work
2010-03-11 06:14 alex Note Added: 0001552
2010-03-11 06:14 alex Assigned To alex => Dmitry
2010-03-11 06:10 alex File Added: custom.zip
2010-02-26 18:55 Dmitry Note Added: 0001494
2010-02-26 18:55 Dmitry Assigned To !COMMUNITY => alex
2010-02-26 18:55 Dmitry Status needs testing => needs feedback
2010-02-26 18:55 Dmitry Developer => alex
2010-01-12 10:45 alex Assigned To => !COMMUNITY
2010-01-12 10:45 alex Status active => needs testing
2010-01-12 10:45 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9146dc4d5a2a76cc
2010-01-12 10:45 alex Target Version => 5.0.3
2010-01-12 10:44 alex New Issue
2010-01-12 10:44 alex File Added: rewrite_listener_ordering_fix.patch

Notes
(0001494)
Dmitry   
2010-02-26 18:55   
Please create a test scenario for this task.
(0001552)
alex   
2010-03-11 06:14   
I've attached "custom.zip" file, that (when unpacked) contains new files for "custom" module. Unpack it in your installation and visit this url:

http://www.site.com/admin/index.php?t=custom/listener_test

You will see this "http://www.site.com/admin/index/second/first.html" result before patch is applied and this "http://www.site.com/admin/index/first/second.html" after it's applied.

Template contents is:
<inp2:m_Link template="index" pass="m,prefix-b,prefix-a" __MOD_REWRITE__="1"/>

Patch goal is force mod-rewrite system to build url using prefix order, used when rewrite listener was registered and not count or prefix order in "pass" parameter of "m_Link" tag.
(0001655)
Dmitry   
2010-03-15 19:24   
Tested okay
(0001657)
alex   
2010-03-17 03:46   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000539: Incorrect rewrite listener processing order
(0002139)
alex   
2010-05-11 03:00   
Closing all tasks from released versions.