Project

General

Profile

Actions

Bug #56265

closed

Admin panel shows wrong cache information

Added by Dmitry Dulepov about 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Should have
Category:
Frontend
Target version:
-
Start date:
2014-02-25
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

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.


Related issues 1 (0 open1 closed)

Is duplicate of TYPO3 Core - Bug #55107: Wrong label for cache indication in AdminPanelClosed2014-01-17

Actions
Actions #1

Updated by Gerrit Code Review about 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

Actions #2

Updated by Gerrit Code Review over 9 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

Actions #3

Updated by Gerrit Code Review over 9 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

Actions #4

Updated by Dmitry Dulepov over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #5

Updated by Benni Mack over 5 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF