[OGo-Developer] ZideStore Folder Mapping Question

Helge Hess developer@opengroupware.org
Sat, 26 May 2007 02:00:08 +0200


On May 25, 2007, at 16:52, Adam Tauno Williams wrote:
>> This adds the given key to the object (and exposes that to the web),
>> yes. But it doesn't necessarily add the object to a WebDAV PROPFIND.
> Ok.
...
> I got a favorites/ folder to appear,  I can see it, and enter it, via
> both WDFS and cadaver.  But listing its contents reports it as empty.
>
> dav:/zidestore/so/awilliam/favorites/> ls
> Listing collection `/zidestore/so/awilliam/favorites/': collection is
> empty.

And the PROPFIND result doesn't contain any responses?

>
> I see that the "toManyRelationshipKeys" of my SxFavoritesFolder object
> is call.

...

> Which in other objects certainly looks like the method that returns  
> the
> folders for an object/collection.

Eg in SxProjectFolder.m a method is explicitly overridden:
  - (NSEnumerator *)davChildKeysInContext:(id)_ctx

Though I would think that this is unnecessary.


>   My SxFavoritesFolder descends from
> SxMailFolder as does the public folder [although the naming  
> conventions
> in this part of the code seem pretty wierd:  MailFolder?]

Those are folders exposed to Outlook, that is Mail folders ... Eg  
SxProjectFolder isn't a mail folder.

> davHasSubFolders  returns BOOL YES.

I think thats only necessary for Outlook.

Greets,
   Helge
-- 
Helge Hess
http://www.helgehess.eu/




-- 
Helge Hess
http://www.helgehess.eu/