[TYPO3-dev] conf_template.txt issue in TYPO3 6.1.7

Ivano Luberti luberti at archicoop.it
Mon Feb 17 16:45:32 CET 2014


Hello all I have a possible bug in TYPO3 6.1.7 but first I would like to 
test the list just in case I'm missing somethig trivial.

I'm trying to extend an existing EXT adding configurability from EM.
So I write a conf_template.txt file and put it in the root folder.

Then I'm able to read/write values using the editing form automatically 
created by EM.

I can also see the value serialized in LocalConfiguration.php

             'itypo_expiring_fe_groups' => 
'a:3:{s:8:"logLevel";s:1:"1";s:25:"manageFeGroupsAccordingly";s:1:"1";s:19:"removeExpiredGroups";s:1:"1";}',


But when I try in the extension to read configuration

unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$this->extKey]) = 
false;

I put a breakpoint and reading in PHPStorm debugger the cofnguration I get:

$GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf'][$this->extKey] = 
'0:3:{s:8:"logLevel";s:1:"1";s:25:"manageFeGroupsAccordingly";s:1:"1";s:19:"removeExpiredGroups";s:1:"1";}'

the first character int he string is different: 0 instead of a.

So it seems something doesn't work properly in TYPO3 configuration loading.

On the other hand I have other extensions in the same instance of TYPO3 
and their config values are read properly.

On the other hand moving the ext_conf_template.txt file from one of 
these extensions (say devLog), result in a similar error: the first 
character is numeric and is different from the one written in the file.

Any ideas?

TIA






More information about the TYPO3-dev mailing list