View Issue Details

IDProjectCategoryView StatusLast Update
0006594mantisbtbugtrackerpublic2006-01-17 06:33
Reporterhgaland Assigned Tothraxisp  
PrioritynormalSeveritymajorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.0rc5 
Fixed in Version1.0.0rc5 
Summary0006594: config_flush_cache does not work correctly
Description

Upon some cases, the effect of config_flush_cache is not correctly handled. Some configurations are taken from config_get_global instead of being read from database after the flush.

Additional Information

It seems that a global variable is missing in function config_flush_cache (config_api.php)
In version 1.35:
function config_flush_cache( $p_option='', $p_user = ALL_USERS, $p_project = ALL_PROJECTS ) {
global $g_cache_config, $g_cache_config_access;

Should be replaced by:
function config_flush_cache( $p_option='', $p_user = ALL_USERS, $p_project = ALL_PROJECTS ) {
global $g_cache_config, $g_cache_config_access, $g_cache_filled;

TagsNo tags attached.

Activities

thraxisp

thraxisp

2006-01-16 14:59

reporter   ~0011946

Fixed in CVS.
core/config_api.php -> 1.35.6.1

Propagated to CVS HEAD
core/config_api.php -> 1.36