[BUGFIX] Invalid class name to file path conversion 99/26999/3
authorXavier Perseguers <xavier@typo3.org>
Wed, 22 Jan 2014 17:20:54 +0000 (18:20 +0100)
committerXavier Perseguers <xavier@typo3.org>
Sat, 25 Jan 2014 15:46:01 +0000 (16:46 +0100)
commit29191fbaf43bfef279b80ab43a282c832f9bf88f
tree6a501a115d1584ac1e0e79b14524f2a14a43f89d
parentb2f4ac419f2d0419ade4198b86575d81aafb408f
[BUGFIX] Invalid class name to file path conversion

The conversion from a class name such as
tx_extensionname_domain_model_somename to its corresponding PHP file
does not take Extbase naming conventions for the file name. This yields
an wrongly-cased file name which will be validated anyway on case
insensitive file systems.

This wrong conversion may lead to a PHP fatal error
Cannot redeclare class VendorName\Extension\Domain\Model\Somename

Fixes: #55256
Releases: 6.2
Change-Id: Ibe512945ac01f53844f790bea9f0d0cf58518c54
Reviewed-on: https://review.typo3.org/26999
Reviewed-by: Markus Klein
Tested-by: Markus Klein
Reviewed-by: Marcin Sągol
Reviewed-by: Stefan Neufeind
Tested-by: Marcin Sągol
Reviewed-by: Xavier Perseguers
Tested-by: Xavier Perseguers
typo3/sysext/core/Classes/Core/ClassLoader.php