Project

General

Profile

Actions

Bug #19845

closed

Duplicated values in localconf.php (typo3conf) - compat_version

Added by Erik Svendsen over 15 years ago. Updated almost 14 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2009-01-17
Due date:
% Done:

0%

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

Description

I found an annoying "bug" in Install Tool/localconf.php when doing some upgrades (from 4.1.x to 4.2.x, from 4.2.x to 4.3.dev). It's not something that I find in every upgraded installations, but in some.

The "bug" is a duplicate of ["SYS"]["compat_version"]. How and when the duplicate is made, i don't know. All off these installations has a history back to 4.0.x and older. The annoying part is when using the upgrade wizard in the Install Tool, it looks like only the first occurence of ["SYS"]["compat_version"] is changed, but it's the second one which are read back to the TYPO3 backend/Install Tool. Ant therefore tells you both in backend and Install Tool that you havent't upgraded.

I doesn't look like this "bug" do any harm, or gives problems.

The first occurence is always written ['SYS']['compat_version'] (single quotes). The second i always written ["SYS"]["compat_version"] (double qoutes). No other variables in localconf.php in tested/checked installations has "double quotes"

Solution should prabably be checking for ["SYS"]["compat_version"] (with double quotes) and comment out/delete this line.

I have tagged the bug to TYPO3 4.2 and above. Reason, I can't remenber this problem upgrading from 4.0.x to 4.1.x. I also don't have the duplicate value in installations done after the release of 4.1.0

(issue imported from #M10175)


Files

v1_class.t3lib_install.php.diff (1.37 KB) v1_class.t3lib_install.php.diff Administrator Admin, 2009-01-30 14:48

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #18947: Compatibility version changed to 3.8 after update on version 4.2.1ClosedChristian Kuhn2008-06-13

Actions
Related to TYPO3 Core - Bug #21203: Install Tool, "Update Wizard", "changeCompatibilityVersion" without actionClosed2009-10-08

Actions
Has duplicate TYPO3 Core - Bug #16721: Update Wizard wont overwrite compat_version mode, in case two lines given;ClosedChristian Kuhn2006-11-17

Actions
Actions

Also available in: Atom PDF