In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1232 [In-Portal CMS] Data Management bug report always 2012-03-26 05:26 2012-07-25 05:31
alex  
alex  
normal  
closed 5.2.0-B2  
fixed  
 
none 5.2.0-B3  
https://groups.google.com/d/topic/in-portal-bugs/J7QkPLpTpLs/discussion
Fixes custom category setting during mod-rewrite url parsing
1
0001232: Unable to set parsed category from custom rewrite parser
During rewrite listener (builder/parser) testing in 5.2.0 (because of large changes to whole application initialization process) I discovered, that code

$params['m_cat_id'] = 15; // no category from url and I need to set a custom one here (won't be affecting <inp2:st_ContentBlock .../>)

doesn't work.

After a little research I discovered that rewrite listener, that searched for a category actually set 0 as current category id, when it wasn't able to find it in url. This wasn't a necessary measure, since m_cat_id variable is set to 0 before url parsing is started anyway.
patch rewrite_parser_category_setting_fix.patch (516) 2012-03-26 05:26
http://tracker.in-portal.org/file_download.php?file_id=1566&type=bug
Issue History
2012-07-25 05:31 alex Note Added: 0004954
2012-07-25 05:31 alex Status resolved => closed
2012-03-26 05:28 alex Changeset attached 5.2.x r15231
2012-03-26 05:28 alex Note Added: 0004511
2012-03-26 05:28 alex Status reviewed and tested => resolved
2012-03-26 05:28 alex Fixed in Version => 5.2.0-B3
2012-03-26 05:28 alex Resolution open => fixed
2012-03-26 05:28 alex Assigned To !COMMUNITY => alex
2012-03-26 05:28 alex Note Added: 0004510
2012-03-26 05:28 alex Status needs testing => reviewed and tested
2012-03-26 05:28 alex Assigned To => !COMMUNITY
2012-03-26 05:28 alex Developer => alex
2012-03-26 05:28 alex Status active => needs testing
2012-03-26 05:28 alex Reference => https://groups.google.com/d/topic/in-portal-bugs/J7QkPLpTpLs/discussion
2012-03-26 05:26 alex New Issue
2012-03-26 05:26 alex File Added: rewrite_parser_category_setting_fix.patch
2012-03-26 05:26 alex Change Log Message => Fixes custom category setting during mod-rewrite url parsing
2012-03-26 05:26 alex Estimate Points => 1

Notes
(0004510)
alex   
2012-03-26 05:28   
Will test all later together.
(0004511)
alex   
2012-03-26 05:28   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001232: Unable to set parsed category from custom rewrite parser
(0004954)
alex   
2012-07-25 05:31   
Since 5.2.0 version was released.