View Issue Details

IDProjectCategoryView StatusLast Update
735ComposrGeneral / Uncategorisedpublic2012-08-10 09:15
ReporterChris Graham Assigned ToChris Graham  
PriorityhighSeverityminor 
Status resolvedResolutionfixed 
Summary735: Blocks may cache incorrectly
DescriptionThere is a design conflict in how block caching is managed.

Some blocks do not have cacheing for intentional reasons. An example is the side_personal_stats block. However, if cache="1" is explicitly set for the block, this is overridden and caching does happen.

The "add block" assistant allows adding of blocks with all the default settings explicitly pre-populated.

Hence manually added blocks without caching, would be cached by default.

To fix this we will change it so that cache="1" does not cache if caching is not defined. If you want to force caching for a block that does not normally have it (which is a bad idea in general!), use the quick_cache="1" setting (which also stops it storing as Tempcode).


Additionally, there is a bug where viewing polls as standalone would produce an error. This patch will fix that also.
TagsNo tags attached.
Attach Tags
Attached Files
Time estimation (hours)
Sponsorship open

Sponsor

Date Added Member Amount Sponsored

Activities

Chris Graham

2012-08-10 09:16

administrator   ~817

Fixed in git commit 26b75b0 (https://github.com/chrisgraham/Composr/commit/26b75b0 - link will become active once code pushed)

A hotfix (a TAR of files to upload) have been uploaded to this issue. These files are made to the latest intra-version state (i.e. may roll in earlier fixes too if made to the same files) - so only upload files newer than what you have already. Always take backups of files you are replacing or keep a copy of the manual installer for your version, and only apply fixes you need. These hotfixes are not necessarily reliable or well supported. Not sure how to extract TAR files to your Windows computer? Try 7-zip (http://www.7-zip.org/).

Issue History

Date Modified Username Field Change
2023-02-26 18:29 Chris Graham Category General => General / Uncategorised