Re: RFC822Marshaller for all content uploaded with FTP/Webdav

Sidnei da Silva <sidnei-/awGbKECNgO/3pe1ocb+swC/[email protected]>
Newsgroups gmane.comp.web.zope.plone.archetypes.devel
Message-ID <20060502171906.GN4634@cotia>
On Tue, May 02, 2006 at 07:12:23PM +0200, Roché Compaan wrote:
| One of our clients alerted us to their FTP problems a couple of days
| ago. They upload plain text log files into Plone which worked in the
| days before ATContentTypes but now it is broken.
| 
| After investigation it seems that all files that are uploaded via FTP or
| Webdav are demarshalled using the RFC822Marshaller. I realise that I
| might eat my words later on, but whoever implemented this must have been
| drunk at the time ;-)
| 
| As expected weird things happen  with this implementation, the whole
| file ends up being parsed as 'headers' and FTP commands end up in
| 'body'.
| 
| As a sanity double check and before I try to work out a reasonable
| implementation can I ask if this is intended????

It was intended a the time, but proved being a bad choice later
on. Note this is the default for Document and News Item in CMFDefault,
but not for Image and File. The distinction makes it even harder.

Limi has given his approval for me to fix this to have more saner
defaults, but I've been a bit busy lately. I hope to still find time
this month to do it.

If you want to discuss what 'saner defaults' should be defined as,
and maybe write a PLIP, that would ease my job a lot.

-- 
Sidnei da Silva
Enfold Systems                http://enfoldsystems.com
Fax +1 832 201 8856     Office +1 713 942 2377 Ext 214


-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.