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
_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope )

Reply via email to