[TYPO3-core] RFC: Bug #9748: Some extensions do not work anymore in the frontend
Oliver Hader
oliver at typo3.org
Wed Nov 12 13:13:56 CET 2008
This is a SVN patch request.
Problem:
Due to a change in RFC #9654 the global includeLibs are not longer used
by t3lib_extMgm - libraries are included only when they are required for
rendering the specific data of an accordant plugin.
However, imagine the following situation:
plugin.tx_myext_pi1 = USER
plugin.tx_myext_pi1 {
includeLibs = EXT:myext/pi1/class.tx_myext_pi1.php
userFunc = tx_myext_pi1->main
}
page = PAGE
page.10 = USER
page.10.userFunc = tx_myext_pi1->renderHeader
This would result in an empty content of the tx_myext_pi1 plugin.
Formerly the class "tx_myext_pi1" was loaded globally and available like
this:
includeLibs.tx_myext_pi1 = EXT:myext/pi1/class.tx_myext_pi1.php
i.e. currently TemplaVoila won't render any content in the front-end -
you get an empty page
Solution:
The solution is to automatically search in the plugin structure for the
"includeLibs" property and include the required files.
Comments:
This is a temporary fix until the autoloader has been integrated and
turns out to be stable. Thus, this change can be removed afterwards.
Bugtracker references:
http://bugs.typo3.org/view.php?id=9748
http://bugs.typo3.org/view.php?id=9654
Branch: Trunk
olly
--
Oliver Hader
TYPO3 4.3 Release Manager
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0009748_v2.patch
Type: text/x-diff
Size: 2146 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081112/83f38e90/attachment.patch
More information about the TYPO3-team-core
mailing list