Project

General

Profile

Actions

Bug #55559

closed

Cleanup and simplify class alias handling

Added by Helmut Hummel about 10 years ago. Updated over 6 years ago.

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

100%

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

Description

There were several issue with the implementation
of class alias handling. Most importantly the
early instance alias cache depended on TYPO3_MODE
which in turn triggered a full class cache
initialization when this cache was missing in one
context.

Additionally eval() calls needed to be used in
certain situations and the building of the cache
files introduced additional complexity.

Solution is to change the cache for early instances
and completely remove and replace by a simple
setAliasFoClassName() call.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #55897: Not possible to define more than one alias for a classClosed2014-02-11

Actions
Actions

Also available in: Atom PDF