Project

General

Profile

Actions

Bug #21501

closed

Install Tool duplicates values of textarea fields

Added by Stefan Geith about 15 years ago. Updated almost 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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

12514.diff (1.23 KB) 12514.diff Administrator Admin, 2010-06-23 14:06
12514_v2.diff (2.07 KB) 12514_v2.diff Administrator Admin, 2010-06-23 15:12
textarea.png (6.45 KB) textarea.png Administrator Admin, 2010-06-23 15:12
12514_v3.diff (2.83 KB) 12514_v3.diff Administrator Admin, 2010-06-23 17:05

Related issues 6 (0 open6 closed)

Related to TYPO3 Core - Bug #22964: Wrong handling of entries in textarea fields in install tool - may break installationClosedSteffen Kamper2010-06-22

Actions
Related to TYPO3 Core - Bug #23009: Installtool bug with escape-signs in ['SYS']['setDBinit']ClosedChris topher2010-06-27

Actions
Related to TYPO3 Core - Bug #23571: dbal does not parse setDBinit correctlyClosedXavier Perseguers2010-09-20

Actions
Related to TYPO3 Core - Bug #25213: Install Tool allows editing settings added by extensions duplicating them on the wayClosedErnesto Baschny2011-03-01

Actions
Related to TYPO3 Core - Bug #23929: Install tool: defaultTypoScript_setup should be textareaClosedSteffen Gebert2010-11-03

Actions
Related to TYPO3 Core - Bug #24129: Installer - All Configuration - [default TS setup] is a input field instead of a teaxtareaRejected2010-11-18

Actions
Actions #1

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'

Actions #2

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! ;)

Actions #3

Updated by Stefan Geith over 14 years ago

chr(10) still gets added even in 4.4-RC2

Actions #4

Updated by Steffen Kamper over 14 years ago

fix is attached

Actions #5

Updated by Steffen Kamper over 14 years ago

second patch contains a litle visual improvement.

Actions #6

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

Actions #7

Updated by Steffen Kamper over 14 years ago

Committed to 4_4 rev 8102 and trunk rev 8103

Actions

Also available in: Atom PDF