#2346: Error when expiring block caches

Type: BugItem Feature: Infrastructure Tags: colivre
ScheduledFor: 0.36.4 Assigned to: DanielaFeitosa Sites:  
Priority: 0 Status: Done  

Description of the bug

After creating/editing/removing articles, Noosfero tries to expire cache of some blocks and raises an error.

Noosfero is using regexp to expire caches, but it is not supported by memcached.

From http://apidock.com/rails/v2.3.2/ActionController/Caching/Fragments/expire_fragment:

Regexp - Will remove any fragment that matches, so %r{pages/\d*/notes} might remove all notes.
Make sure you don't use anchors in the regex (^ or $) because the actual filename matched looks
like ./cache/filename/path.cache. Note: Regexp expiration is only supported on caches that can 
iterate over all keys (unlike memcached). 


-- DanielaFeitosa -- 21 Apr 2012

Add comment
You need to login to be able to comment.

ActionItemForm edit

Title Error when expiring block caches
ActionItemType? BugItem
Priority 0
Tags colivre
Feature Infrastructure
ResponsibleDevelopers DanielaFeitosa
ScheduledFor? 0.36.4
Status Done
Ticket SAC:
Topic attachments
I Attachment Action Size Date Who Comment
pngpng error.png manage 121.5 K 21 Apr 2012 - 13:58 DanielaFeitosa  
Topic revision: r2 - 21 Apr 2012 - 15:07:43 - DanielaFeitosa

irc Talk with Devs Now!

Translations: English
Search on Docs:
ActionItem Search:

Copyright © 2007-2015 by the Noosfero contributors
Colivre - Cooperativa de Tecnologias Livres