In-Portal Issue Tracker

Welcome to the In-Portal Open Source CMS Issue Tracker! This is a central management / tracking tool for all types of tasks / issues / bugs for the In-Portal Project. Before reporting any issues, please make sure to read the Guide into Issue Tracker and How to Properly Test and Report Bugs!

Viewing Issue Advanced Details Jump to Notes ] Wiki ]  Related Changesets ] View Simple ] Issue History ] Print ]
ID Category Type Reproducibility Date Submitted Last Update
0001318 [In-Portal CMS] Caching System bug report always 2012-06-11 08:23 2012-07-25 05:29
Reporter alex View Status public Project Name In-Portal CMS
Assigned To alex Developer
Priority normal Resolution fixed Platform
Status closed   OS
  OS Version
ETA none Fixed in Version 5.2.0 Product Version 5.1.3
  Target Version 5.2.0 Product Build
Time EstimateNo estimate
Summary 0001318: More options to category cache rebuilding system
Description 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.
Steps To Reproduce
Additional Information
Tags No tags attached.
Reference https://groups.google.com/d/topic/in-portal-dev/IIg-w-a0vgU/discussion
Change Log Message Adds more options to specify how category permission cache would be rebuilt.
Estimate Points 1
Attached Files patch file icon category_permcache_rebuild_modes_addon.patch [^] (17,715 bytes) 2012-06-29 08:04 [Show Content]
patch file icon category_permcache_rebuild_modes_upgrade_addon.patch [^] (731 bytes) 2012-07-16 06:16 [Show Content]

- Relationships Relation Graph ] Dependency Graph ]
parent of 0001439active (5.2.1) Missing "Category Permission Cache" after Installation 
Not all the children of this issue are yet resolved or closed.

-  Notes
User avatar (0004747)
alex (manager)
2012-06-29 08:05

Will test all together later.
User avatar (0004748)
alex (manager)
2012-06-29 08:06

Fix committed to 5.2.x branch. Commit Message:

Fixes 0001318: More options to category cache rebuilding system
User avatar (0004785)
alex (manager)
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.
User avatar (0004836)
alex (manager)
2012-07-25 05:29

Since 5.2.0 version was released.

- Related Changesets
In-Portal CMS: 5.2.x r15448
Timestamp: 2012-07-16 06:17:19
Author: alex
Details ] Diff ]
Bug 0001318: More options to category cache rebuilding system
mod - /in-portal/branches/5.2.x/core/install/upgrades.php Diff ] File ]
In-Portal CMS: 5.2.x r15421
Timestamp: 2012-06-29 08:06:20
Author: alex
Details ] Diff ]
Fixes 0001318: More options to category cache rebuilding system
mod - /in-portal/branches/5.2.x/core/install/english.lang Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_data.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/install_toolkit.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/install/upgrades.sql Diff ] File ]
mod - /in-portal/branches/5.2.x/core/kernel/constants.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/admin/admin_tag_processor.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/categories/categories_event_handler.php Diff ] File ]
mod - /in-portal/branches/5.2.x/core/units/categories/categories_tag_processor.php Diff ] File ]

- Issue History
Date Modified Username Field Change
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



Web Development by Intechnic
In-Portal Open Source CMS
In-Portal Open Source CMS
Copyright © 2000 - 2009 MantisBT Group

Powered by Mantis Bugtracker