[Zope3-dev] Important IFile bug!

Roger Ineichen dev at projekt01.ch
Fri Jan 14 08:00:22 EST 2005


Hi together

There is a bug in the implementation of IFile.

The interfaces of IFile's field data is declared 
as a "Bytes" field.

Bytes is of the type str.

If we have large datawe store FileChunk objects
on data fields.

This is working because we don't use the form
framework correct for handle files and the data 
field never get validated.

What should we change?

Should Bytes fields also allow to validate
FileChunk objects?

Regards
Roger Ineichen
_____________________________
Projekt01 GmbH
www.projekt01.ch
Langackerstrasse 8
6330 Cham
phone     +41 (0)41 781 01 78
mobile    +41 (0)79 340 52 32
fax       +41 (0)41 781 00 78
email r.ineichen at projekt01.ch
_____________________________
END OF MESSAGE 



More information about the Zope3-dev mailing list