You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
installed Redis 3.2.10 as cache server.
create new custom component with settings in config.xml
installed the custom component.
try to use params,
$params = JComponentHelper::getParams("com_custom_xxx",true);//replace com_custom_xxx as the correct name.
var_dump($params);
change the settings from the custom component default settings page.
again try to use the params, but this time.
the result the $params has no value. (It may has correct values after minutes later, maybe wait for the cache expired)
try to clear all cache from com_cache component page.
try to user the params again.
the params still empty (or the old's values)
Expected result
after try to clean all cache from com_cache component page.
try to use params again, the params should refresh and replace with new changed settings.
Actual result
the clean cache function cannot delete the correct redis cache.
Steps to reproduce the issue
installed Redis 3.2.10 as cache server.
create new custom component with settings in config.xml
installed the custom component.
try to use params,
$params = JComponentHelper::getParams("com_custom_xxx",true);//replace com_custom_xxx as the correct name.
var_dump($params);
change the settings from the custom component default settings page.
again try to use the params, but this time.
the result the $params has no value. (It may has correct values after minutes later, maybe wait for the cache expired)
try to clear all cache from com_cache component page.
try to user the params again.
the params still empty (or the old's values)
Expected result
after try to clean all cache from com_cache component page.
try to use params again, the params should refresh and replace with new changed settings.
Actual result
the clean cache function cannot delete the correct redis cache.
System information (as much as possible)
Joomla 3.9.x
Redis 3.2.10
Php 7.10.x
Centos 7.4
nginx 1.14.2
Additional comments
try to use redis-cli to clean the cache db. the cache refresh immediately.
The text was updated successfully, but these errors were encountered: