Re: PdataStreamIterator bug?
Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]> Thu, 25 May 2006 09:51:38 -0300
| Newsgroups | gmane.comp.web.zope.plone.archetypes.devel |
|---|---|
| Message-ID | <20060525125138.GD5377@cotia> |
On Thu, May 25, 2006 at 02:43:07PM +0200, Roché Compaan wrote: | 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 Uhm? You must be looking at the wrong version of archetypes. The latest doesn't have any str(data). -- Sidnei da Silva Enfold Systems http://enfoldsystems.com Fax +1 832 201 8856 Office +1 713 942 2377 Ext 214 ------------------------------------------------------- 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&kid=107521&bid=248729&dat=121642