Bug #21007
'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: | ||
| Assignee: | - | % Done: | 0% |
|
| Category: | - | |||
| Target version: | - | |||
| TYPO3 Version: | 4.3 | Complexity: | ||
| PHP Version: | 5.3 | |||
| Votes: | 0 |
Description
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)
History
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
Hi Oliver,
Yes, in 4.1 4.2 branches there are same bug
line if ($config['exclusiveKeys'])
should be if (strlen($config['exclusiveKeys']))
Updated by Alexander Opitz 13 days ago
- Status changed from New to Needs Feedback
- Target version deleted (
0)
The issue is very old, does this issue exists in newer versions of TYPO3 CMS (4.5 or 6.1)?