PdataStreamIterator bug?

Roché Compaan <roche-kb4xc5yObU3kQYj/0HfcvhBnub05S5/[email protected]> Thu, 25 May 2006 14:43:07 +0200
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Organization Upfront Systems
Message-ID <[email protected]>
Hi there

I've been trying to get file streaming to work with FileSystemStorage
but it seems that all the good work done elsewhere in Zope or Plone is
undone by Archetypes.WebDAVSupport.PdataStreamIterator. The problem is
that PdataStreamIterator returns the whole file in the first iteration
by calling "str(data)". In the first call to "next", self.data is a
Pdata instance and calling str on a Pdata object returns the whole
file. 

I'll log this in http://dev.plone.org/archetypes


-- 
Roché Compaan
Upfront Systems                 http://www.upfrontsystems.co.za



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid7521&bid$8729&dat1642