Project

General

Profile

Actions

Bug #42058

closed

Set class alias also if new class names are required in class loader

Added by Helmut Hummel about 12 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2012-10-16
Due date:
% Done:

100%

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

Description

As not all usage of class names trigger the autoloader, usage of old class names in type hints for example.
If an object with a namespaced class is given to a method with an old class name, PHP dies with a fatal error.
To ensure full compatibility we need to set the class alias also when a namespaced class is required in the autoloader.

Actions

Also available in: Atom PDF