Project

General

Profile

Actions

Bug #20992

closed

TYPO3 autoloader is case-sensitive while PHP's is not

Added by Francois Suter about 15 years ago. Updated about 15 years ago.

Status:
Closed
Priority:
Must have
Category:
-
Target version:
-
Start date:
2009-09-04
Due date:
% Done:

0%

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

Description

From a couple of tests I made, I noted that TYPO3's autoloading mechanism is case-sensitive, where PHP is not. This creates confusion when creating an ext_autoload.php file.

Example taken from the Scheduler:

'tx_scheduler_task' => t3lib_extMgm::extPath('scheduler', 'class.tx_scheduler_task.php'),

In fact, the class' name is "tx_schedular_Task" (note the capital "T"). But if the line is changed in the ext_autoload.php file to:

'tx_scheduler_Task' => t3lib_extMgm::extPath('scheduler', 'class.tx_scheduler_task.php'),

then the class is not found by t3lib_div::callUserFunction().
(issue imported from #M11871)

Actions #1

Updated by Francois Suter about 15 years ago

After discussion in the mailing lists, it seems like this is not an issue. Just something that needs to be properly documented.

The generation of ext_autoload.php file should be automated by the next version of extdeveval.

Actions

Also available in: Atom PDF