Bug #21501
closedInstall Tool duplicates values of textarea fields
0%
Description
When I save 'Install Tool' / 'All Configuration', I get
(while not having changed anything !):
$TYPO3_CONF_VARS['FE']['defaultTypoScript_constants'] = '[GLOBAL]'.chr(10).'extension.pdf_generator2.typeNum = 123'.chr(10).'[GLOBAL]'.chr(10).'extension.pdf_generator2.typeNum = 123'
1) I have installed "pdf_generator2" that does
t3lib_extMgm::addTypoScriptConstants('extension.pdf_generator2.typeNum = 123");
in ext_localconf.php
2) Every save in 'Install Tool' / 'All Configuration' duplicates the contents of $TYPO3_CONF_VARS['FE']['defaultTypoScript_constants']
(issue imported from #M12514)
Files
Updated by Daniel Krupke almost 15 years ago
I can confirm this for pdf_generator too:
Entry of [FE][defaultTypoScript_constants] after first writing of "All Configuration":
$TYPO3_CONF_VARS['FE']['defaultTypoScript_constants'] = '[GLOBAL]'.chr(10).'extension.pdf_generator.typeNum = 23'
Entry of [FE][defaultTypoScript_constants] after second writing of "All Configuration":
$TYPO3_CONF_VARS['FE']['defaultTypoScript_constants'] = '[GLOBAL]'.chr(10).'extension.pdf_generator.typeNum = 23'.chr(10).'[GLOBAL]'.chr(10).'extension.pdf_generator.typeNum = 23'
Updated by Clemens Riccabona almost 15 years ago
I can confirm this bug on TYPO3 4.3.0 final.
Every time writing the localconf changes the fields values get doubled. Very anoying! ;)
Updated by Stefan Geith over 14 years ago
chr(10) still gets added even in 4.4-RC2
Updated by Steffen Kamper over 14 years ago
second patch contains a litle visual improvement.
Updated by Steffen Kamper over 14 years ago
New problem arised - with setDBinit the string isn't correct parsed.
v3 solves this for this value
Updated by Steffen Kamper over 14 years ago
Committed to 4_4 rev 8102 and trunk rev 8103