Project

General

Profile

Actions

Bug #55418

closed

Class Loader requires "wrong" class files if class string matches naming convention

Added by Helmut Hummel about 10 years ago. Updated about 9 years ago.

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

0%

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

Description

If there is a namespaced class \Vendor\Myext\Foo\Bar and the file typo3conf/ext/myext/Classes/Foo/Bar.php are present,
the class loader also requires the file when being called with a class name like "tx_myext_foo_bar" (e.g. triggered by a class_exists() call)

This is a performance overhead but also may lead to duplicate cache entries and may lead to a fatal in certain cases,
especially on case insensitive filesystems.

Instead we should find a solution to not require the file.


Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #54275: ClassLoader creates additional cacheidentifier for same fileClosedHelmut Hummel2013-12-07

Actions
Related to TYPO3 Core - Bug #55256: Invalid class name to file path conversionClosedXavier Perseguers2014-01-22

Actions
Related to TYPO3 Core - Bug #56624: automatic class loading for lowercase extbase-style classes doesn't workClosed2014-03-06

Actions
Actions

Also available in: Atom PDF