[TYPO3-core] RFC: Bug #9977: Extensions' class.ext_update.php scripts are executed even when extension isn't loaded
Marcus Krause
marcus#exp2008 at t3sec.info
Fri Dec 19 20:54:12 CET 2008
Hi!
This is an SVN patch request.
Type: bug
Branches: 4.1, 4.2, trunk
Bugtracker reference: http://bugs.typo3.org/view.php?id=9977
Problem:
Extensions' scripts class.ext_update.php are used to update data when
newly installing an extension or upgrading an existing one.
Unfortunately class.ext_update.php is even executed if the extension
isn't loaded at all. This is unneccessary and most probably causes an
error as class.ext_update.php in most cases will use the extension's API
and therefore depends on a loaded extension.
Solution:
Test, if according extension is loaded before executing
class.ext_update.php.
Notes:
Patch has been made against 4.2 branch.
Marcus.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 9977.diff
Type: text/x-diff
Size: 589 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20081219/85b2726d/attachment.diff
More information about the TYPO3-team-core
mailing list