[TYPO3-core] RFC: #10442: Select doesn't allow comma in value
Steffen Kamper
info at sk-typo3.de
Sun Feb 15 22:38:52 CET 2009
Hi,
This is SVN patch request.
Type: Bugfix
Branches: trunk
BT reference: http://bugs.typo3.org/view.php?id=10442
Problem:
Select doesn't allow comma in value. 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.
Solution:
Attached patch differenciate between single and multiselect and explode
the value only for selects having maxitems>1
Additional Information:
I placed a test extension in BT. Install and create a test record
("fields") in a sysfolder.
vg Steffen
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 10442.diff
Type: text/x-diff
Size: 1414 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090215/acd52c68/attachment-0001.diff
More information about the TYPO3-team-core
mailing list