View Issue Details

IDProjectCategoryView StatusLast Update
0007456OXID eShop (all versions)4.08. Cachepublic2023-03-31 12:22
ReporterESYON2022 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version6.5.2 
Summary0007456: Missing files in _sPermanentCachePattern leads to deletion of config.*.*.txt on updating models
DescriptionOn updating a model the cache is cleared (oxResetFileCache).
Some files are excluded from the deletion (protected $_sPermanentCachePattern = "/c_fieldnames_|c_tbdsc_|_allfields_/";).

The config cache is missing within this pattern, which leads to the deletion of config cache. After deleting the cache the configuration (1.yaml) needs to be cached again, which leads to performance issues on slow storage.
Steps To Reproduce1. set blClearCacheOnLogout to true
2. load any shop page, so the config files are cached
3. update any model
4. check for config.1.amodules.txt - this file is deleted after the update
Additional InformationAs a temporary workaround we enable blClearCacheOnLogout.
TagsCache
Attached Files
ThemeAll
BrowserAll
PHP Version8.0
Database VersionMySQL 5.7

Activities

QA

2023-03-31 12:18

administrator   ~0015127

Last edited: 2023-03-31 12:22

-MK

Don't get confused: The file config.1.amodules.txt will be instantly recreated after the cache was flushed but one could get the idea, that it wasn't deleted:
-rw-r--r-- 1 oxid oxid 6 Mar 31 09:50 config.1.amodules.txt
-rw-r--r-- 1 oxid oxid 6 Mar 31 09:50 config.all.urlmap.txt

---- Saving random object with the administration area ----

? ls -lah config*
-rw-r--r-- 1 oxid oxid 6 Mar 31 09:51 config.1.amodules.txt
-rw-r--r-- 1 oxid oxid 6 Mar 31 09:51 config.all.urlmap.txt