Project

General

Profile

Bug #5096

delete_like method implementation missing in no_cache and session_cache (Chamilo 2.1 stable) (Cache application)

Added by Bram Thielemans about 7 years ago. Updated almost 7 years ago.

Status:
Needs more info
Priority:
Normal
Start date:
29/06/2012
Due date:
% Done:

0%

Estimated time:
Complexity:
Normal

Description

This is a bug encountered in Chamilo 2.1 stable. I've created the issue here because there is no issue tracker for the Cache application and the Cache application is mainly used for the Handbook application.

Cache implementations extend from a super Cache class, which is abstract. Subclasses need to implement a delete_like method. The db_cache provides such an implemenation, but the no_cache and session_cache versions do not. This will cause a fatal error when one of these caches is configured, and an administrator tries to clear the cache.

The attached cache.patch file implements this method for both classes.


Files

cache.patch (1.15 KB) cache.patch Bram Thielemans, 29/06/2012 14:28

History

#1

Updated by Stefaan Vanbillemont about 7 years ago

  • Target version set to Backlog (default)
#2

Updated by Parcifal Aertssen almost 7 years ago

  • Status changed from New to Needs more info
  • Assignee set to Bram Thielemans

$caches is uninitialized in your code... can you correct this?

Also available in: Atom PDF