Closed
Description
Preconditions (*)
- Configure any cache to database in env.php
2.3-develop
'cache' => [
'frontend' => [
'{some_frontend_cache}' => [
'backend' => 'database',
'backend_options' => [],
'id_prefix' => 'U_'
]
],
'type' => [
'{any_cache_type_here}' => [
'frontend' => '{some_frontend_cache}'
]
]
]
Steps to reproduce (*)
- configure any cache type to database
Expected result (*)
- health_check.php works
Actual result (*)
- health_check.php fails since can't find
database
class in
$backend = new $cacheBackendClass($cacheConfig[ConfigOptionsListConstants::CONFIG_PATH_BACKEND_OPTIONS]);
- health_check.php fails since can't create instance of
\Magento\Framework\Cache\Backend\Database
and throws expeditions from here
\Magento\Framework\Cache\Backend\Database::__construct
'Option "adapter" should be declared and extend \Magento\Framework\DB\Adapter\AdapterInterface!'
Option "data_table" or "data_table_callback" should be declared!
Option "tags_table" or "tags_table_callback" should be declared!
'DB Adapter should be declared and extend \Magento\Framework\DB\Adapter\AdapterInterface'
Metadata
Metadata
Assignees
Labels
The issue has been fixed in 2.4-develop branchGate 3 Passed. Manual verification of the issue completed. Issue is confirmedGate 1 Passed. Automatic verification of issue format passedGate 4. Acknowledged. Issue is added to backlog and ready for developmentThe issue has been reproduced on latest 2.3 release