In-Portal Issue Tracker - In-Portal CMS
Viewing Issue Advanced Details
1318 [In-Portal CMS] Caching System bug report always 2012-06-11 08:23 2012-07-25 05:29
alex  
alex  
normal  
closed 5.1.3  
fixed  
 
none 5.2.0  
https://groups.google.com/d/topic/in-portal-dev/IIg-w-a0vgU/discussion
Adds more options to specify how category permission cache would be rebuilt.
1
0001318: More options to category cache rebuilding system
Right now configuration setting "Quick Section Permission Rebuild" is enabled by default, which prevents progress bar popup to appear when changes to category structure (add/edit/delete) are made. This also imposes, that category permission cache is done in one step in background.

When category count increases (and I doubt that most of developers/users knows about "Quick Section Permission Rebuild" setting) it leads to memory leak and inability to perform automatic category permission cache rebuilding.

To solve this "Quick Section Permission Rebuild" setting can be disabled and then category cache rebuilding would happen using progress bar.

I'm proposing to add more flexibility in terms of configuring how category permission cache will be rebuild and when by creating new configuration setting "Category Cache Rebuild Mode", that will replace "quick category cache rebuild" option with following options:

* Manual - user need to click on rebuild button in catalog (will use progress bar)
* Silent - cache will be rebuild in background (no progress bar)
* Automatic - ask/don't ask user (based on category count) and rebuild (if he agrees) with progress bar

Default setting will be set to Automatic for backwards compatibility.
parent of 0001439active  (5.2.1) Missing "Category Permission Cache" after Installation 
Not all the children of this issue are yet resolved or closed.
patch category_permcache_rebuild_modes_addon.patch (17,715) 2012-06-29 08:04
http://tracker.in-portal.org/file_download.php?file_id=1719&type=bug
patch category_permcache_rebuild_modes_upgrade_addon.patch (731) 2012-07-16 06:16
http://tracker.in-portal.org/file_download.php?file_id=1747&type=bug
Issue History
2012-12-03 02:15 alex Relationship added parent of 0001439
2012-07-25 05:29 alex Note Added: 0004836
2012-07-25 05:29 alex Status resolved => closed
2012-07-16 06:17 alex Changeset attached 5.2.x r15448
2012-07-16 06:16 alex Note Added: 0004785
2012-07-16 06:16 alex File Added: category_permcache_rebuild_modes_upgrade_addon.patch
2012-07-03 08:21 Dmitry Target Version Icebox => 5.2.0
2012-06-29 08:06 alex Changeset attached 5.2.x r15421
2012-06-29 08:06 alex Note Added: 0004748
2012-06-29 08:06 alex Status reviewed and tested => resolved
2012-06-29 08:06 alex Fixed in Version => 5.2.0
2012-06-29 08:06 alex Resolution open => fixed
2012-06-29 08:06 alex Assigned To !COMMUNITY => alex
2012-06-29 08:05 alex Note Added: 0004747
2012-06-29 08:05 alex Status needs testing => reviewed and tested
2012-06-29 08:04 alex Assigned To => !COMMUNITY
2012-06-29 08:04 alex Developer => alex
2012-06-29 08:04 alex Status active => needs testing
2012-06-29 08:04 alex File Added: category_permcache_rebuild_modes_addon.patch
2012-06-11 08:23 alex New Issue
2012-06-11 08:23 alex Reference => https://groups.google.com/d/topic/in-portal-dev/IIg-w-a0vgU/discussion
2012-06-11 08:23 alex Change Log Message => Adds more options to specify how category permission cache would be rebuilt.
2012-06-11 08:23 alex Estimate Points => 1

Notes
(0004747)
alex   
2012-06-29 08:05   
Will test all together later.
(0004748)
alex   
2012-06-29 08:06   
Fix committed to 5.2.x branch. Commit Message:

Fixes 0001318: More options to category cache rebuilding system
(0004785)
alex   
2012-07-16 06:16   
Patch "category_permcache_rebuild_modes_upgrade_addon.patch" added upgrade script, that would transform old system setting into new one.
(0004836)
alex   
2012-07-25 05:29   
Since 5.2.0 version was released.