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

Phillip J. Eby pje@telecommunity.com
Fri, 25 May 2001 12:41:00 -0400


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.

So, if a "null" resource simply delegated this operation back to the 
container it was spawned from, the container could make that decision 
without having to have its own class of null resource.