We have moved to GitHub Issues
Created by Barry Fogarty 22 Feb 2016, 19:54:01 Updated by Barry Fogarty 22 Feb 2016, 20:19:13
Relates to: U4-4741
Currently it is difficult to deal with commas in prevalues within multi-select datatypes (checkbox lists, dropdown list multiple etc). As the commas are not HTML encoded in the XML cache, splitting the raw CSV string value on comma results in an incorrect collection. HTML encoding the comma (,) or storing the value as JSON as per the related issue should solve this.
splitting the raw CSV string value on comma results in an incorrect collection
FYI If we're going to fix this, we'll probably not be able to fix this until v8 as people are splitting on commas all over the place, so suddenly changing it to a html encoded comma is going to break many sites.
@sebastiaan say I have a prevalue of "Mortgages, Pensions and Investments" in a "Categories" (checkboxlist-based) datatype. The prevalue is split in 2 parts when trying to return a collection of categories for the content item.
Backwards Compatible: True
Due in version: