[TYPO3-core] RFC: Bug #9977: Extensions' class.ext_update.php scripts are executed even when extension isn't loaded

Steffen Kamper info at sk-typo3.de
Mon Dec 22 11:54:34 CET 2008


FYI: committed to 4_1, 4_2 and trunk, rev 4587-4589

vg Steffen

Marcus Krause schrieb:
> 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.
> 


More information about the TYPO3-team-core mailing list