15 Mar
2002
15 Mar
'02
7:49 a.m.
Bryan C. Andregg wrote:
This of course breaks Zope products that check file field uploads by using the _.len(request['file']).read() method. They'll need to be wrapped in an if statement now, I guess.
Has anyone else seen this?
I have used this code for checking upload, and this still works fine: image = Image.Image('image', self.title, file) if len(image.data) is 0: image='' self.image = image regards Max M