Bug #25213
closedInstall Tool allows editing settings added by extensions duplicating them on the way
100%
Description
When I save 'Install Tool' / 'All Configuration', I get (while not having changed anything!):
$TYPO3_CONF_VARS['FE']['defaultTypoScript_constants'] = '[GLOBAL]\' . LF . \'extension.pdf_generator2.typeNum = 123';
This was already fixed with the patch of bug #21501 and TYPO3 4.4.1. but somehow the bug still occurs in TYPO3 4.4.7.
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 #M17813)
Updated by Clemens Riccabona over 13 years ago
same here on a 4.5.0, 4.5.1 and 4.5.2 and a 4.4.5
and i can NOT confirm this have ever been fixed in a official TYPO3 release (but i did not try every service release since this anoying problem occurred).
Updated by Tobias Schaefer over 13 years ago
i've looked at the affected files from patch 12514_v3.diff and it seems that the code changes applied by this patch is in the core of 4.4.7. So, I assume that patch 12514 doesn't really do what it is supposed to do.
Updated by Simon Schaufelberger almost 13 years ago
- Target version deleted (
0)
Hi,
This issue is still valid for 4.5.10 and is so annoying.
Updated by Clemens Riccabona almost 13 years ago
Yes Please, it is really much anoying!
Updated by Ernesto Baschny almost 13 years ago
- Subject changed from Install Tool duplicates values of textarea fields to Install Tool allows editing settings added by extensions duplicating them on the way
- Category set to Install Tool
- Status changed from New to Accepted
- Assignee set to Ernesto Baschny
- Complexity set to medium
The problem is not of duplicating "multi-line fields" (as it was before, and fixed in the mentioned issue #21501).
In this case the problem is that the Install Tool is allowing to edit settings which are added by Extensions (through e.g. t3lib_extMgm::addTypoScriptSetup). These additions are appended to existing settings. So each time you edit and save these again, more and more lines will be generated.
Solution is to track the settings which are added by extensions (through the API) and don't allow to edit this specific snippets.
Updated by Gerrit Code Review almost 13 years ago
- Status changed from Accepted to Under Review
Patch set 1 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8704
Updated by Gerrit Code Review almost 13 years ago
Patch set 2 for branch master has been pushed to the review server.
It is available at http://review.typo3.org/8704
Updated by Ernesto Baschny almost 13 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 05ed54d8eac2be034352bb84d9a289fd59f0e6f4.
Updated by Clemens Riccabona almost 13 years ago
I am happy to see this in a most likley coming 4.5.12 release - finally! :-)
Thanks a lot, Ernesto!
Updated by Steffen Gebert over 12 years ago
This change causes a PHP Warning. As I don't understand the code, it would be nice, if the authors could have a look at #35410.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/11321
Updated by Gerrit Code Review over 12 years ago
Patch set 1 for branch TYPO3_4-5 has been pushed to the review server.
It is available at http://review.typo3.org/11324
Updated by Christian Kuhn over 12 years ago
- Status changed from Under Review to Resolved
Applied in changeset 9a439a23f41c2f27091de53b1b746b7d37b77dd2.
Updated by Gerrit Code Review over 12 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch TYPO3_4-6 has been pushed to the review server.
It is available at http://review.typo3.org/13256
Updated by Wouter Wolters over 11 years ago
- Status changed from Under Review to Resolved
Accidently reopened by Gerrit script