Developer forum

Forum » CMS - Standard features » Filename with comma is removed from ItemType

Filename with comma is removed from ItemType

Jesse Bakker
Reply

Hi Guys,

We have a solution with a PageItemtype with an image file field on it. When there is an image added to this field and the page is saved, it is working.
But the next time the itemtype is opened and saved, without changing anything on the content, then the image is removed. (See also the attach images for the different steps)

This is happening when a image contains a comma in it's filename. (e.g. "Houtlook-dakkapel-wit-3,4m.jpg").
This strips the rest of the filename after the comma and causes the imagelink to be invalid en removed.

Images without a comma in the filename are working fine. 

The solution is running on DW 8.8.1.6.

BR, Jesse

step1_imageAdded.JPG step2_OpenedSecondTime.JPG step3_AfterSecondSave.JPG

Replies

 
Nicolai Pedersen
Reply
This post has been marked as an answer

Hi Jesse

This happens because the field type can have a list of files - and they are seperated by comma. So comma is not supported in filenames here.

Sorry about the inconvenience...

BR Nicolai

Votes for this answer: 1

 

You must be logged in to post in the forum