Closed forgues closed 10 years ago
That would be because the JS is currently set to parse with ,
as delimiters I think. I was looking at this this morning since the image wasn't working anymore.
In ConcreteServiceFacade
a response is generated and this response appends name
, url
, image
through commas. This should be changed and so should the response parsing.
I will take this one. ideally it should not use any symbol as separator. Probably create JSON object would be a solution
Just a suggestion -- use json for ajax response bodies -- jquery is set up to auto-parse it. In the jQuery's ajax request constructor, set property data='json'.
On Wed, Apr 9, 2014 at 2:00 PM, ceipher notifications@github.com wrote:
I will take this one. ideally it should not use any symbol as separator.
— Reply to this email directly or view it on GitHubhttps://github.com/prmr/Creco/issues/103#issuecomment-39996067 .
@MariamN did you solve this problem by commits in #108 , if so you can close this one.
@cipher yes it is now solved. Closing this issue now.
I tested with the "tablet" category, where almost all products have a comma in their name, e.g. Acer Iconia Tab A110 (Wi-Fi, 8GB)
As soon as I select a feature, all product names are cut off at the comma. e.g. Acer Iconia Tab A110 (Wi-Fi
Images aren't displayed anymore and the URLs are broken. I suspect this is because products are normally separated by a comma, so it doesn't expect a comma in the actual product names.