When you export content type, delete it and import it again, contents of Permitted upload file extensions field in ImageField settings gets double commas - before "png,gif,jpg,jpeg" and after "png,,gif,,jpg,,jpeg". This then gives error on uploading images in field, that file type is wrong.
Comments
Comment #1
gausarts commentedSubscribing
Comment #2
henrijs.seso commentedactually it must be with no commas at all
Comment #3
dgautsch commentedsubscribing
Comment #4
jvj commentedHi,
I am experiencing the same problem in 6.x-2.7 version with video upload fields.
Commas are not shown in the type export in the corresponding type options field, but on import I get them back and as doubled and the file upload fails with wrong filetype -error.
I noticed also that if I go to content type->field->configure field I see the permitted extensions as comma delimited. If I delete those commas (as instructed by the field comment), save and go back the configuration page the commas are there again !?
Comment #5
hlopes commentedSubscribing