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

Oliver Hader oliver at typo3.org
Wed May 20 16:32:34 CEST 2009


FYI: The attached changes have been committed as follow-up to SVN Trunk
(rev. 5459):
* includeLibs in frontend did not work when class was not loaded

olly

PS: I hope this was the last patch concerning autoloading, XCLASSes and
nested calls from here and there... puh... ;)


Oliver Hader schrieb:
> 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_followup.patch
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090520/8122658a/attachment.txt 


More information about the TYPO3-team-core mailing list