Actions
Bug #19719
closedExtensions' class.ext_update.php scripts are executed even when extension isn't loaded
Start date:
2008-12-18
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.2
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
Extension's script 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 depend that extension is loaded.
Steps to reproduce:- import an extension that provides such a class (but don't install it)
- switch to EM function "Install extensions"
- click on the extension's name to see details
- then class.ext_update.php is executed!
(issue imported from #M9977)
Files
Actions