Project

General

Profile

Actions

Bug #18706

closed

Update Wizard in install tool force temp-configuration files and load configuration twice

Added by Steffen Kamper over 16 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
-
Target version:
-
Start date:
2008-04-26
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.2
PHP Version:
5.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

How to reproduce:
set
$TYPO3_CONF_VARS['EXT']['extCache'] = '0';

Call Update Wizard, you will see temp configuration files

Try again with pmkslimbox. This ext defines a class in localconf.php
class user_slimbox { ...}
call Update Wizard: PHP Fatal error: Cannot redeclare class user_slimbox in...

so second load of this configuration

(issue imported from #M8260)


Files

T3X_bug_8260-0_0_0-z-201009011651.t3x (1.36 KB) T3X_bug_8260-0_0_0-z-201009011651.t3x Administrator Admin, 2010-09-01 16:51
0008260_4-2.patch (6.14 KB) 0008260_4-2.patch Administrator Admin, 2010-09-03 15:38
0008260_4-3.patch (6.87 KB) 0008260_4-3.patch Administrator Admin, 2010-09-03 15:38
0008260_4-4.patch (6.84 KB) 0008260_4-4.patch Administrator Admin, 2010-09-03 15:39
0008260_trunk.patch (6.84 KB) 0008260_trunk.patch Administrator Admin, 2010-09-03 15:39
Actions #1

Updated by Peter Klein over 16 years ago

Fixed in latest version (2.3.0) of PMK Slimbox.

Actions #2

Updated by Steffen Kamper over 16 years ago

thx Peter, but your bug was only to show that configuration was loaded twice and update wizard forces temp file regardless the settings.

Son the bug in installer still persists

Actions #3

Updated by Oliver Hader about 14 years ago

Use the attached demo extension to reproduce this behaviour by using the Install Tool and using the "Update wizard" section there...

Actions #4

Updated by Oliver Hader about 14 years ago

The attached patch disables caching if the install tool is used, thus loading an uncached version is not required anymore here.
However, it has to be ensured that the cache files still get removed since there might be modifications during the update wizards are executed.

Actions #5

Updated by Oliver Hader about 14 years ago

Committed to SVN:
  • TYPO3_4-2 (rev. 8815)
  • TYPO3_4-3 (rev. 8816)
  • TYPO3_4-4 (rev. 8817)
  • Trunk (rev. 8818)
Actions #6

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF