Project

General

Profile

Actions

Bug #19719

closed

Extensions' class.ext_update.php scripts are executed even when extension isn't loaded

Added by Marcus Krause almost 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Extension Manager
Target version:
-
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

9977.diff (589 Bytes) 9977.diff Administrator Admin, 2008-12-19 20:38
Actions #1

Updated by Marcus Krause almost 16 years ago

patch added

Actions #2

Updated by Steffen Kamper almost 16 years ago

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

Actions #3

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF