In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
649 [In-Portal CMS] Optimization task N/A 2010-03-27 16:29 2010-06-10 13:44
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/9514aeb47d8cf115
0
0000649: Method "kMultilanguageHelper::getLanguageCount" always executes sql queries, however could use cached value
Method "kMultilanguageHelper::getLanguageCount" always executes sql queries, however could use cached value set in constructor.
patch ml_helper_language_count_optimization.patch (519) 2010-03-27 16:29
http://tracker.in-portal.org/file_download.php?file_id=415&type=bug
Issue History
2010-06-10 13:44 alex Note Added: 0002420
2010-06-10 13:44 alex Status resolved => closed
2010-05-11 04:40 alex Changeset attached 5.0.x r13542
2010-05-11 04:40 alex Note Added: 0002193
2010-05-11 04:40 alex Status reviewed and tested => resolved
2010-05-11 04:40 alex Fixed in Version => 5.0.4-B1
2010-05-11 04:40 alex Resolution open => fixed
2010-05-11 04:40 alex Assigned To !COMMUNITY => alex
2010-04-04 17:55 Dmitry Note Added: 0001778
2010-04-04 17:55 Dmitry Status needs testing => reviewed and tested
2010-03-27 16:33 alex Category Data Management => Optimization
2010-03-27 16:33 alex Type bug report => task
2010-03-27 16:33 alex Reproducibility always => N/A
2010-03-27 16:30 alex Assigned To => !COMMUNITY
2010-03-27 16:30 alex Developer => alex
2010-03-27 16:30 alex Status active => needs testing
2010-03-27 16:29 alex New Issue
2010-03-27 16:29 alex File Added: ml_helper_language_count_optimization.patch
2010-03-27 16:29 alex Reference => http://groups.google.com/group/in-portal-bugs/browse_thread/thread/9514aeb47d8cf115

Notes
(0001778)
Dmitry   
2010-04-04 17:55   
Patch tested and seems to be okay.

Quick note, I haven't noticed any changes in the SQL numbers on standard Catalog page with and without patch. The code logic looks right to me so I believe it's okay to commit this in.
(0002193)
alex   
2010-05-11 04:40   
Fix committed to 5.0.x branch. Commit Message:

Fixes 0000649: Method "kMultilanguageHelper::getLanguageCount" always executes sql queries, however could use cached value
(0002420)
alex   
2010-06-10 13:44   
Closing since version 5.0.4 is released.