'exclusiveKeys' => '0' in 'select' type field in TCA does't work as intended
|Status:||Needs Feedback||Start date:||2009-09-07|
|Priority:||Should have||Due date:|
When 'select' type field configured in TCA has option 'exclusiveKeys' => '0' it is not work as intended – due to improper check in class t3lib_tceforms 'exclusiveKeys' with value set to '0' considred as empty.
(issue imported from #M11892)
|related to Core - Bug #20994: db_list doesn't show '0' values||Closed||2009-09-04|
Updated by Oliver Hader over 3 years ago
Vladimir, I guess this behaviour was the same in TYPO3 4.2 and 4.1 as well? Can you confirm that?
Updated by Vladimir Podkovanov over 3 years ago
Yes, in 4.1 4.2 branches there are same bug
line if ($config['exclusiveKeys'])
should be if (strlen($config['exclusiveKeys']))