Project

General

Profile

Actions

Bug #53963

closed

All Configuration shows a value of 1 for disabled boolean options

Added by Markus Klein over 10 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
Category:
Install Tool
Target version:
Start date:
2013-11-26
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

In the All Configuration section of the Install Tool, all options of type boolean, which are disabled, show a value of 1, but the checkbox is unchecked.
It is not clear to the user whether a feature is now enabled or not.

An example is [BE][showRefreshLoginPopup].

The default value of this option is FALSE.
So if the LocalConfiguration.php does not modify this setting the Install Tool will look like this:

Actual value of [BE][showRefreshLoginPopup] is 0

Obviously this view is not consistent. The checkbox is unchecked. So what will happen if I click the "write configuration" button?
Will it set value to 0 now?
(The answer is: it will do nothing!)

Checking the checkbox now and clicking the button then will write the value 1 to the LocalConfiguration.php and the Install Tool will look like this:

Actual value of [BE][showRefreshLoginPopup] is 1

Which is correct now.

But unchecking the box now and writing the changes (value 0) will bring back the first image again.


Files

allconfiguration-0.png (12.2 KB) allconfiguration-0.png Actual value of [BE][showRefreshLoginPopup] is 0 Markus Klein, 2014-01-07 00:58
allconfiguration-1.png (11.5 KB) allconfiguration-1.png Actual value of [BE][showRefreshLoginPopup] is 1 Markus Klein, 2014-01-07 00:58
Actions

Also available in: Atom PDF