[TYPO3-dev] Duplicated values in localconf.php (typo3conf)

Erik Svendsen erik at linnearad.no
Sat Jan 17 16:31:51 CET 2009


Hello Francois,

> Hi,
> 
>> 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.
>> 
>> I doesn't look like this "bug" do any harm, or gives problems.
>> Someone else who has found the same problem? Checking out before I'm
>> make a bug report.
>> 
> Yes I stumbled on the same problem last week, while trying to upgrade
> a 4.1 to a 4.2 install. However I had upgraded other installs
> previously and not encountered some problem.
> 
> I din't have time to dig into the bug at the time, but I think the
> problem comes from the fact that the variables was written once with
> double quotes and now is looked for with single quotes and is not
> recognised anymore. Hence you get both a ["SYS"]["compat_version"] and
> a ['SYS']['compat_version'].
> 
> Cheers
> 

You are correct, missed that small difference.

It's also looks like double quote version always are the last one, and is 
the one read by the install tool, therefore the annoying message occurs in 
installations with some history. As I have done upgrades since 3.6.0, and 
first got the error when ugrading to 4.2, it should be easy to "discover" 
when the change is done.

Else I don't think it's necessary to do any compressive check for where and 
when the changes was made. I suppose it's enough to make an either a simple 
check or make a upgrade note.

WBR,
Erik Svendsen
www.linnearad.no






More information about the TYPO3-dev mailing list