Bug #20992
closedTYPO3 autoloader is case-sensitive while PHP's is not
0%
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)
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.