[Zope-dev] z3c.form: unicode error with upload form

Christophe Combelles ccomb at free.fr
Wed Mar 5 18:12:17 EST 2008


Hi,

The z3c.form.converter.FileUploadDataConverter has no toWidgetValue() method.
Instead, it inherits from BaseDataConverter.toWidgetValue(), that returns 
unicode(data).

However unicode(value) returns an error when the value is binary data!

Shouldn't FileUploadDataConverter implement its own toWidgetValue?

Christophe


More information about the Zope-Dev mailing list