In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
504 [In-Portal CMS] Data Management bug report always 2009-12-25 06:07 2010-05-11 03:00
alex  
alex  
normal  
closed 5.0.2-B2  
fixed  
 
none 5.0.3-B1  
http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4a2742239e8672cb#
0
0000504: Tag st_CachedMenu doesn't work when system has more then 5 languages
Tag st_CachedMenu doesn't work when system has more then 5 languages. The following code in MenuHelper::_altBuildMenuStructure method:

$languages_count = ceil($this->Conn->GetOne('SELECT COUNT(*) FROM '.TABLE_PREFIX.'Language')/5)*5

always rounds up language count up, so for 6 languages we will get 10 columns and of course 4 of them will be missing.
patch menu_problem_with_6more_languages.patch (799) 2009-12-25 06:07
http://tracker.in-portal.org/file_download.php?file_id=194&type=bug
Issue History
2010-05-11 03:00 alex Note Added: 0002156
2010-05-11 03:00 alex Status resolved => closed
2010-03-12 07:57 alex Note Added: 0001583
2010-03-12 07:57 alex Status reviewed and tested => resolved
2010-03-12 07:57 alex Fixed in Version => 5.0.3-B1
2010-03-12 07:57 alex Resolution open => fixed
2010-03-12 07:57 alex Assigned To !COMMUNITY => alex
2010-03-12 07:57 alex Changeset attached 5.0.x r13211
2010-03-11 23:48 Dmitry Note Added: 0001568
2010-03-11 23:48 Dmitry Status needs testing => reviewed and tested
2010-02-26 19:03 Dmitry Developer => alex
2010-01-06 06:14 alex Target Version Icebox => 5.0.3
2009-12-25 06:41 alex Assigned To => !COMMUNITY
2009-12-25 06:41 alex Status active => needs testing
2009-12-25 06:09 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/4a2742239e8672cb#
2009-12-25 06:09 alex Target Version => Icebox
2009-12-25 06:07 alex New Issue
2009-12-25 06:07 alex File Added: menu_problem_with_6more_languages.patch

Notes
(0001568)
Dmitry   
2010-03-11 23:48   
Tested okay
(0001583)
alex   
2010-03-12 07:57   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000504: Tag st_CachedMenu doesn't work when system has more then 5 languages
(0002156)
alex   
2010-05-11 03:00   
Closing all tasks from released versions.