WebDAV MKCOL (was: [Zope-CMF] UnpickleableError)

seb bacon seb@jamkit.com
Fri, 25 May 2001 18:16:56 +0100


* Phillip J. Eby <pje@telecommunity.com> [010525 17:40]:
> At 06:01 PM 5/25/01 +0100, seb bacon wrote:
> 
> >  - Perhaps a MKCOL_factory is more appropriate?  It'd be good to have
> >    some input on this.  I thought not because I simply couldn't
> >    envisage a scenario where one would want anything other than the
> >    current folder type to be created, but perhaps that's not a good
> >    enough reason...
> 
> Shouldn't this just be delegated back to some kind of "manage_MKCOL" method 
> on the original folder?  (Or is that what you mean by MKCOL_factory?)  The 
> default implementation of such a method in ObjectManager could be to make a 
> sub-folder.  Specialized containers could override it as they please, since 
> I can think of many instances where I would want to have a container create 
> a different kind of container for its child containers.

Not exactly what I meant, but you're absolutely right, I think.

seb