Development

#7205 (sfWidgetFormInputSWFUpload doesn't use specified file types)

You must first sign up to be able to contribute.

Ticket #7205 (closed defect: fixed)

Opened 4 years ago

Last modified 4 years ago

sfWidgetFormInputSWFUpload doesn't use specified file types

Reported by: enrico.b Assigned to: fabien
Priority: minor Milestone:
Component: plugins Version: 1.2.8
Keywords: Cc:
Qualification: Unreviewed

Description

when i specified the filetypes which the SWFUpload widget should accept, it didn't work out of the box. after searching for the error i discovered a bug in the render() method of the widget class. in the setup() method an option "swfupload_file_types" is defined and when rendering the widget uses the "swf_upload_file_types" option.

patch is attached.

Attachments

sfWidgetFormInputSWFUploadPlugin.patch (0.7 kB) - added by enrico.b on 09/24/09 18:18:14.

Change History

09/24/09 18:18:14 changed by enrico.b

  • attachment sfWidgetFormInputSWFUploadPlugin.patch added.

10/02/09 09:06:42 changed by joshiausdemwald

  • status changed from new to closed.
  • resolution set to fixed.

Thank you very much for applying the patch :) Please do me a favor and pass me a notice if you find and report further bugs within this or generally in plugins developed by me because i don't search the trac system daily.

Thanks for your efforts :)

10/02/09 09:09:29 changed by joshiausdemwald

(In [22709]) Fixed #7205

10/02/09 09:09:43 changed by joshiausdemwald

(In [22710]) Fixed #7205