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

Benjamin Mack benni at typo3.org
Sun Dec 21 00:28:03 CET 2008


Hey Marcus,

+1 after reading!

All the best,
Benni.

On 19.12.2008 20:54 Uhr, Marcus Krause wrote:
> 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