Project

General

Profile

Actions

Bug #21348

closed

EXT:setup CSH mode setting gets lost

Added by Steffen Gebert about 15 years ago. Updated over 14 years ago.

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

0%

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

Description

Go to "user settings" and set "?Context Sensitive Help mode" to "Display help icon only". Save the configuration.

After that, CSH icons are shown, but the value for CSH mode is again "Display no help information". As soon as you safe the form, the information of the changed setting is lost.
It always falls back to "no help information".

I assume this is a problem caused by the setup rewrite.

Please target this to 4.3.0
(issue imported from #M12326)


Files

12326.diff (860 Bytes) 12326.diff Administrator Admin, 2009-10-23 22:16
Actions #1

Updated by Oliver Hader about 15 years ago

Can you please check when (at which TYPO3 version) this behaviour was introduced? Thanks!

Actions #2

Updated by Steffen Gebert about 15 years ago

Introduced by rev 5991, fix for #21010: User Setup miss save of be_users fields and miss handling of default value

Actions #3

Updated by Steffen Gebert about 15 years ago

Bug is caused by a variable clash
foreach ($config['items'] as $key => $value) {
$html .= '<option value="' . $key . '"' .
($value == $key ? ' selected="selected"' : '') .
'>' . $this->getLabel($value,'',false) . '</option>' . chr(10);
}

$value already holds the saved value of the field, so we mustn't reassign the LL value to it.

Actions #4

Updated by Steffen Kamper about 15 years ago

Committed to trunk, rev 6275

Actions

Also available in: Atom PDF