[TYPO3-core] RFC: #10175: Duplicated values in localconf.php (typo3conf)

Christian Kuhn lolli at schwarzbu.ch
Fri Jun 26 20:24:04 CEST 2009


* Committed to trunk (rev. 5640)

Final patch attached (with Rupis comment).

I'll let Ingo decide if he wants this fix in 4.2

Regards
Christian


Stefano Kowalke wrote:
> Hi,
> 
> this is an SVN patch request
> 
> Branches: 4.1, 4.2, trunk
> 
> Type: Bugfix
> 
> BT reference: http://bugs.typo3.org/view.php?id=10175
> 
> Problem: (issue was reported by Erik Svendsen, so i took his description
> in parts into it)
> 
> If you doing some upgrades (from 4.1.x to 4.2.x, from 4.2.x to 4.3.dev)
> the installer replace the version number with the newer one.
> 
> This would be fine when the array ['SYS']['compat_version'] in
> localconf.php comes with single quotes, but in some old versions this
> array contains double quotes (["SYS"]["compat_version"]).
> 
> Installer not reconize the presence of the array an put a new one at the
> end of the file.
> 
> Now you have this array 2nd times in the file - one with double and one
> single quotes.
> 
> 
> Solution:
> Make the installer tolerance for finding arrays with double quotes and
> replace the double quotes with single quotes.
> 
> Cheers
> Stefano
> 

-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 10175_v4.diff
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090626/c038d3c9/attachment.txt 


More information about the TYPO3-team-core mailing list