Bug #39506
closedclear_cacheCmd produces empty log-entry if cacheCmd not set
0%
Description
Sometimes, e.g. when you hide/unhide a content-element in the be via db_layout-Request, t3lib_TCEmain->clear_cacheCmd is called even if there's nothing to clear.
This produces an Entry in the Cache-Log like:
User cbuchli has cleared the cache (cacheCmd=)
The proper solution obviously would be to just not call clear_cacheCmd if the argument is empty:
typo3/tce_db.php:242:
+ if (!empty($this->cacheCmd)) {
$this->tce->clear_cacheCmd($this->cacheCmd);
+ }
Since I don't know if this is the only place where it could happen and since clear_cacheCmd sould consider this problem regardlessly, I assume it would be better to fix it there. (see attached .diff).
=> What do you think?
Files
Updated by Ralf-Rene Schroeder over 12 years ago
same problem in TYPO3 4.7.x
every modificaltions of a contentelement produces this log entry (don't know if the cache ist flushed or not)
Updated by Wouter Wolters over 11 years ago
- Status changed from New to Resolved
This one is resolved with #47181