Project

General

Profile

Actions

Bug #54148

closed

Clear all caches not working properly

Added by Andrea Schmuttermair over 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Caching
Target version:
-
Start date:
2013-12-02
Due date:
% Done:

0%

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

Description

Hi,

I already had problems with the cache during installation (see http://forge.typo3.org/issues/54015) - but I wasn't sure if I really deleted all caches.

Now I am developing extension codes, and still have lots of problems with cache, reproducable now.

  • Change Extension Code -> Clear all caches -> Still old code in error log
    Only rm -r typo3temp/* helps
  • "clear all caches" crashes sometimes, then I can't even load the typo3 login page, Error log tells me: Backend Classes missing, so rm -r typo3temp/* again

If you give me a hint where to look or where to debug, I can dig deeper, currently I am using the rm -r every 15 minutes...


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #54015: Class 'TYPO3\\CMS\\Install\\Status\\OkStatus' not foundClosed2013-11-27

Actions
Actions #1

Updated by Markus Klein over 10 years ago

Hi!

Yes it depends which code you're changing. The Clear All Caches in the BE does not clear some code caches (because this is normally not necessary for the Integrator in the backend).

I agree this is not smooth by now.

Actions #2

Updated by Philipp Gampe over 10 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (next-patchlevel)

Code caches are not cleared from backend. Of you want to avoid the code caches, set their backend to the null backend during development.

Therefore I would say, this is not a bug in the clear cache function, but in the title/description of the button.
Would you agree?

Actions #3

Updated by Stephan Großberndt over 10 years ago

See http://docs.typo3.org/TYPO3/CoreApiReference/CachingFramework/Configuration/Index.html.

If you are developing in extbase the caches you have to set to NullBackend are
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['extbase_reflection']
$TYPO3_CONF_VARS['SYS']['caching']['cacheConfigurations']['extbase_object']

Actions #4

Updated by Dmitry Dulepov about 10 years ago

I think Extbase cache should be cleared too. Imagine, if you install an update version of the ext that added injected properties of the object. If Extbase object cache is not cleared at that time, dependency injection will not work.

Please, correct me if I am wrong.

Actions #5

Updated by Markus Klein over 9 years ago

  • Status changed from Needs Feedback to Closed

The EM clears all system caches on ext updates.

If you need to clear them manually, enable the "Clear System Caches" button in the BE.

Actions

Also available in: Atom PDF