[TYPO3-core] FYI: Fixed bug #11156: Misbehaviours due to integration of autoloader

Oliver Hader oliver at typo3.org
Wed May 20 15:54:09 CEST 2009


The following changes were committed to SVN Trunk:
* XCLASS/DBAL/AdoDB (rev. 5456)
* includeLibs/TemplaVoila (rev. 5458)

Type: Bugfix

Bugtracker references:
http://bugs.typo3.org/view.php?id=11156

Branch: Trunk

Problem:
The integration and activation of the autoloader created some misbehaviours:
* DBAL seems not to be working anymore
* TemplaVoila seems not to be working anymore

Solution:
1) XCLASSes DBAL/AdoDB or any class that is not in t3lib:
t3lib_div::makeInstance() had a check whether a file is in t3lib and not
yet loaded (like an autoloader for t3lib). However, XCLASSes are defined
at the end of the file to be XCLASSed, thus the has to be loaded and the
XLCASSes have to be checked.
I've enabled autoloading for the class_exists('ux_' . $className) stuff
to have the XCLASSing working in autoloading context.
2) The reason that TemplaVoila shows only a blank page is related to the
includeLibs removal from the global context. I've reverted the recent
changes in tslib_cObj. The method states that it can be removed when
autoloading is integrated - however that's only the case if all
extensions would have been in the registry file of the autoloader.
This part just reverts the changes of the autoloader commit in tslib_cObj.

Notes:
Thanks to Steffen for heavy testing for this strange issues.

olly
-- 
Oliver Hader
TYPO3 Release Manager 4.3
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0011156_templavoila.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090520/24a4ebbb/attachment.txt 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0011156_dbal.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090520/24a4ebbb/attachment-0001.txt 


More information about the TYPO3-team-core mailing list