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

gausarts’s picture

Subscribing

henrijs.seso’s picture

actually it must be with no commas at all

dgautsch’s picture

subscribing

jvj’s picture

Version: 6.x-3.x-dev » 6.x-2.7

Hi,
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 !?

hlopes’s picture

Subscribing