collective / wildcard.media

13 stars 12 forks source link

Add workaround for broken dexterity/fileUpload #33

Closed displacedaussie closed 8 years ago

displacedaussie commented 8 years ago

This PR provides a workaround for this issue: https://github.com/collective/wildcard.media/issues/32

If wildcard.video is set as the registered type in the content type registry for video files, a fileUpload via folder_contents currently fails because video_file is the primary field instead of file. This workaround sets the video_file via file.

vangheem commented 8 years ago

Sorry that it has taken me so long to notice. Can you rebase and I'll merge.

ivanteoh commented 8 years ago

@vangheem This branch is rebased and changlog is updated. Thanks.