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

Jeffrey Shell jeffrey@Digicool.com
Fri, 25 May 2001 13:55:02 -0400


I put some thoughts together on this a few months back, even made a 
tracker issue (that I later deferred) and put a proposal together 
that I probably should have put in the normal dev.zope.org 
fishbowl::

http://cmf.zope.org/PTK/Members/jshell/FolderCreationProposal.txt
http://www.zope.org/Products/PTK/Tracker/183

On Friday, May 25, 2001, at 12:41  PM, Phillip J. Eby wrote:

> 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.
>
>
> _______________________________________________
> Zope-CMF maillist  -  Zope-CMF@zope.org
> http://lists.zope.org/mailman/listinfo/zope-cmf
>
> See http://www.zope.org/Products/PTK/Tracker for bug reports and 
> feature requests