[Zope-CMF] PATCH: Get CMFCore.exportimport.content working with Archetypes

Brent Hendricks brent.hendricks at gmail.com
Thu Nov 3 17:11:57 EST 2005


The DAVAwareFileAdapter currently passes the file's string content
both as BODY and BODYFILE in the FauxDAVRequest.  This causes problems
in Archetypes' BaseContent.PUT() because it expects BODYFILE to be an
actual file object.

This patch against CMFCore/trunk uses cStringIO to make a file object
for BODYFILE.

Could someone with permission check this (or something like it) in?

Thanks,
Brent
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmf-content-import.patch
Type: text/x-patch
Size: 589 bytes
Desc: not available
Url : http://mail.zope.org/pipermail/zope-cmf/attachments/20051103/3acbf840/cmf-content-import.bin


More information about the Zope-CMF mailing list