Bug #56265
closedAdmin panel shows wrong cache information
100%
Description
When strings were extracted from the admin panel code to language files, their meaning was changed to the opposite but the code was not changed. Original (4.x) code was:
$tableArr[] = array('no_cache:', $GLOBALS['TSFE']->no_cache ? 1 : 0);
So it displayed the "no_cache: 1" when the page is not cached.
Current code:
$tableArr[] = array($this->extGetLL('info_noCache'), $GLOBALS['TSFE']->no_cache ? 1 : 0);
and
<trans-unit id="info_noCache" xml:space="preserve">
<source>Page cached</source>
</trans-unit>
This means that "Page cached: 0" will be displayed in the admin panel when the page is actually cached. This can be verified easily: just click "Disable caching in the admin panel and see "Page cached: 1" in the "Info" section.
Updated by Gerrit Code Review over 10 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/27835
Updated by Gerrit Code Review over 10 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/27835
Updated by Gerrit Code Review over 10 years ago
Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/31868
Updated by Dmitry Dulepov over 10 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 6849be35f3a450a1f0f316522e75a5ec136f6ad5.