Project

General

Profile

Actions

Bug #14775

closed

Editing ExtList in Install Tool prevents Extension Manager from installing any more extensions.

Added by Jacob Floyd almost 19 years ago. Updated almost 16 years ago.

Status:
Closed
Priority:
Should have
Category:
Install Tool
Target version:
-
Start date:
2005-05-31
Due date:
% Done:

0%

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

Description

If someone accidentally changes the ExtList in the Install Tool (for instance, by 'tabbing' through and accidentally hitting some key or other as they go by) or, even if they change it on purpose, the Extension Manager is no longer able to install or uninstall any extensions, because it modifies the first instance of ExtList in localconf.php, and the Install Tools's second instance takes precedence.

I would recommend one, or both, of the following solutions:

Solution A:
Create a simple Checkbox just above ExtList. This wouldn't store yet another variable, but would instead have a simple JavaScript function attached to that would enable editing of the 'ExtList' textbox upon clicking it (i.e. editing that 'ExtList' textbox would be disabled by default.) It might says something like:
[_] I understand the risk associated with editing this value outside of the EM, and want to change it anyway (NOTE: This might render the EM unusable!)

Solution B:
Add a feature to the extension manager where it checks for multiple occurances of 'ExtList' in localconf.php and output an error if there are multiple instances. You could take it even further by doing any number of the following:
-Compare all instances of 'ExtList' and tell what differences there are. If there aren't any, delete all but the first occurance.
-Just automatically remove all but the first occurance of 'ExtList', no warning,
-Always add an additional entry every time something is changed (this would make localconf get big real fast. Not very good option)
-Offer the error, and provide a list of options to automatically fix the error, including possibly the option for the user to manually edit an entry that would then be saved as the first occurance deleting all other occurances.
-Something else?

(issue imported from #M1137)


Files

installtool-quotes.patch (6.85 KB) installtool-quotes.patch Administrator Admin, 2006-01-18 23:27
installtool-quotes_v2.patch (9.14 KB) installtool-quotes_v2.patch Administrator Admin, 2006-01-19 13:26

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #14806: double quotes for options from install-toolClosedKarsten Dambekalns2005-06-08

Actions
Actions

Also available in: Atom PDF