Actions
Bug #20021
closedSelect doesn't allow comma in value
Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2009-02-15
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
4.3
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
This has a reason: multiselects (select with maxitems>1) are saved as comma-seperated list.
Proceeding the value while save and read use an explode on the comma to seperate the values again.
This doesn't make sense for single selects. As they could be used also in a FCE, where the value isn't processed in an extension but passed directly to FE, usage of comma in value makes sense.
Attached patch differenciate between single and multiselect and explode the value only for selects having maxitems>1
Use attached extension for test
(issue imported from #M10442)
Files
Actions