Project

General

Profile

Actions

Task #57230

closed

Activate "clear system cache" with Preset "Development"

Added by Xavier Perseguers about 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
Start date:
2014-03-24
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.4
Tags:
Complexity:
Sprint Focus:

Description

When using configuration preset "Development", we should automatically activate the additional "clear system cache" menu for administrators.

Adding it via pageTS should of course be kept, as it is useful when using Production mode but willing to see this option anyway.

=> have a TYPO3_CONF_VAR which enables it (for admin only).. and add this setting to the "Dev-Preset" in the install tool presets


Files

applicationContext.diff (5.61 KB) applicationContext.diff Xavier Perseguers, 2014-03-24 16:13
Actions #1

Updated by Ernesto Baschny about 10 years ago

  • Status changed from New to Accepted
  • Assignee deleted (Wouter Wolters)

Great idea and based on my experience these last days where this seemed to be the most frequently asked question (also amongst team members), we should have this setting, as this is also what developers will expect in a "development instance".

Actions #2

Updated by Xavier Perseguers about 10 years ago

Current code shows that this is already the case if an environment variable puts the website into Development mode, but this does not work without an environment variable as LocalConfiguration has not yet been read when defined, in Bootstrap.

Actions #3

Updated by Markus Klein about 10 years ago

Dev-Preset or Dev-Context?

Actions #4

Updated by Xavier Perseguers about 10 years ago

Dev preset. Defining the Context is not always possible (shared-hosted on Nginx, no way to have a ".htaccess").

I have a prototype adding an "applicationContext" under TYPO3_CONF_VARS/SYS but the application context is instantiated too early in bootstrap and cannot be overridden.

Actions #6

Updated by Ernesto Baschny about 10 years ago

ok but we just wanted a new setting for the clear system caches and not changing anything about the contextes in this issue. Is this still doable?

Actions #7

Updated by Gerrit Code Review almost 10 years ago

  • Status changed from Accepted 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/30656

Actions #8

Updated by Gerrit Code Review almost 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 https://review.typo3.org/30656

Actions #9

Updated by Gerrit Code Review almost 10 years ago

Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/30656

Actions #10

Updated by Zbigniew Jacko almost 10 years ago

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

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF