Bug #5096
delete_like method implementation missing in no_cache and session_cache (Chamilo 2.1 stable) (Cache application)
Status:
Needs more info
Priority:
Normal
Assignee:
Bram Thielemans
Target version:
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
History
Updated by Parcifal Aertssen over 10 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?