Project

General

Profile

Actions

Bug #72698

closed

User TSconfig clearCache not working as expected

Added by Kerstin Eitner over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
TypoScript
Target version:
-
Start date:
2016-01-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

With TYPO3 7.6.2 the user TSconfig concerning clearCache.pages and clearCache.system does not work as expected.

I have a configuration like this:

options {
    clearCache.all = 1
    clearCache.pages = 1
    clearCache.system = 0
}

Normally it should show the buttons for clearing frontend cache and general cache. But instead it also shows the system cache.

Furthermore I tested this configuration which should only show the button for clearing the frontend cache, but this shows the frontend cache and the system cache.

options {
    clearCache.pages = 1
}

The TSconfig documentation says that the default values are 0 for all types.

Actions #1

Updated by Wouter Wolters over 8 years ago

  • Status changed from New to Needs Feedback

Is the user an admin?

I tried this with a normal user and it works as expected.

The system settings are shown in the following situations

1. Admin user and SYS/clearCacheSystem set in Install Tool
2. The TSconfig set to 1: options.clearCache.system = 1
3. Is the application context is development.

Actions #2

Updated by Kerstin Eitner over 8 years ago

Oh I didn't know the fact concerning situation 3 (development context)... Thank you very much! So everything works as expected =)

Actions #3

Updated by Wouter Wolters over 8 years ago

  • Status changed from Needs Feedback to Closed

allright, I'll close the ticket :)

Actions

Also available in: Atom PDF