Project

General

Profile

Actions

Feature #28063

closed

Use caching framework in autoloader

Added by Christian Kuhn over 13 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Miscellaneous
Target version:
-
Start date:
2011-07-10
Due date:
% Done:

100%

Estimated time:
PHP Version:
5.3
Tags:
Complexity:
Sprint Focus:

Description

The patch initializes the caching framework earlier during bootstrap and rewrites the autoloader to use the new phpcode cache as a register of all available classes.


Related issues 5 (0 open5 closed)

Related to TYPO3 Core - Task #28186: Tag autoloader cache entriesClosed2011-07-13

Actions
Related to TYPO3 Core - Bug #28187: Clear autoloader cache if dbal is loaded in 1-2-3ClosedChristian Kuhn2011-07-13

Actions
Related to TYPO3 Core - Task #28219: Invalidate autoloader cache in emClosedChristian Kuhn2011-07-14

Actions
Related to TYPO3 Core - Task #28221: Remove XCLASS definitions from cache classesClosed2011-07-15

Actions
Related to TYPO3 Core - Bug #28235: t3lib_div::int_from_version not usable in ext_autoload.phpClosed2011-07-15

Actions
Actions #1

Updated by Mr. Hudson over 13 years ago

Patch set 1 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254

Actions #2

Updated by Philipp Gampe over 13 years ago

I get this one after cleaning all typo3conf/temp_* files.

( ! ) Fatal error: Class 'Tx_Extbase_Object_Container_Container' not found in /home/phil/t3-playground/t3-git/t3lib/class.t3lib_div.php on line 4727
Call Stack
#    Time    Memory    Function    Location
1    0.0022    937368    {main}( )    ../index.php:0
2    0.0036    1135624    require( '/home/phil/t3-playground/t3-git/typo3/init.php' )    ../index.php:38
3    0.0242    4219016    require( '/home/phil/t3-playground/t3-git/t3lib/config_default.php' )    ../init.php:201
4    0.0325    5575896    require( '/home/phil/t3-playground/dummy/typo3conf/temp_CACHED_ps9124_ext_localconf.php' )    ../config_default.php:948
5    0.0334    5921016    t3lib_div::makeInstance( )    ../temp_CACHED_ps9124_ext_localconf.php:392

The offending line is from extbase/ext_localconf.php
It is the first (code) line which fails...

// We need to set the default implementation for Storage Backend & Query Settings
// the code below is NO PUBLIC API! It's just to make sure that
// Extbase works correctly in the backend if the page tree is empty or no
// template is defined.
$extbaseObjectContainer = t3lib_div::makeInstance('Tx_Extbase_Object_Container_Container'); // Singleton
$extbaseObjectContainer->registerImplementation('Tx_Extbase_Persistence_Storage_BackendInterface', 'Tx_Extbase_Persistence_Storage_Typo3DbBackend');
$extbaseObjectContainer->registerImplementation('Tx_Extbase_Persistence_QuerySettingsInterface', 'Tx_Extbase_Persistence_Typo3QuerySettings');
unset($extbaseObjectContainer);

Actions #3

Updated by Xavier Perseguers over 13 years ago

  • Status changed from New to Under Review
Actions #4

Updated by Xavier Perseguers over 13 years ago

  • Target version changed from 1281 to 4.6.0-beta1
Actions #5

Updated by Mr. Hudson over 13 years ago

Patch set 2 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254

Actions #6

Updated by Mr. Hudson over 13 years ago

Patch set 3 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254

Actions #7

Updated by Mr. Hudson over 13 years ago

Patch set 4 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254

Actions #8

Updated by Mr. Hudson over 13 years ago

Patch set 5 of change I7c548fbabeb6e60b8bd9c4098803c1171bbdbec5 has been pushed to the review server.
It is available at http://review.typo3.org/3254

Actions #9

Updated by Christian Kuhn over 13 years ago

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

Updated by Xavier Perseguers over 12 years ago

  • Status changed from Resolved to Closed
Actions #11

Updated by Ernesto Baschny over 11 years ago

  • Target version deleted (4.6.0-beta1)
Actions

Also available in: Atom PDF