[kronolith] horde/rpc.php/principals/user/ empty since some releases

Jan Schneider jan at horde.org
Thu Apr 7 12:39:59 UTC 2016


Zitat von Christoph Haas <chhaas-ml at ukbw.de>:

> Hello Jens,
>
> I'm getting the following results now for the both queries:
>
> Request:
> --------
>
> <d:propfind xmlns:d="DAV:" xmlns:c="urn:ietf:params:xml:ns:caldav">
>   <d:prop>
>      <c:calendar-home-set />
>   </d:prop>
> </d:propfind>
>
> Response:
> ---------
> <?xml version="1.0" encoding="utf-8"?>
> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"  
> xmlns:cal="urn:ietf:params:xml:ns:caldav"  
> xmlns:cs="http://calendarserver.org/ns/"  
> xmlns:card="urn:ietf:params:xml:ns:carddav">
> <d:response>
>   <d:href>/horde/rpc.php/principals/user/</d:href>
>   <d:propstat>
>     <d:prop>
>       <cal:calendar-home-set>
>         <d:href>/horde/rpc.php/calendars/user/</d:href>
>       </cal:calendar-home-set>
>     </d:prop>
>     <d:status>HTTP/1.1 200 OK</d:status>
>   </d:propstat>
> </d:response>
> </d:multistatus>
>
>
> --> this seems to be OK
>
> Request:
> --------
> <d:propfind xmlns:d="DAV:" xmlns:cs="http://calendarserver.org/ns/"  
> xmlns:c="urn:ietf:params:xml:ns:caldav">
>   <d:prop>
>      <d:resourcetype />
>      <d:displayname />
>      <c:supported-calendar-component-set />
>   </d:prop>
> </d:propfind>
>
> Response:
>
> <?xml version="1.0" encoding="utf-8"?>
> <d:multistatus xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"  
> xmlns:cal="urn:ietf:params:xml:ns:caldav"  
> xmlns:cs="http://calendarserver.org/ns/"  
> xmlns:card="urn:ietf:params:xml:ns:carddav">
> <d:response>
>   <d:href>/horde/rpc.php/principals/user/</d:href>
>   <d:propstat>
>     <d:prop>
>       <d:displayname>Christoph Haas</d:displayname>
>       <d:resourcetype>
>         <d:principal/>
>       </d:resourcetype>
>     </d:prop>
>     <d:status>HTTP/1.1 200 OK</d:status>
>   </d:propstat>
>   <d:propstat>
>     <d:prop>
>       <cal:supported-calendar-component-set/>
>     </d:prop>
>     <d:status>HTTP/1.1 404 Not Found</d:status>
>   </d:propstat>
> </d:response>
> </d:multistatus>
>
>
> --> Username is correct detected, but in the  
> "supported-calendar-component-set" I get a "404 not found"-error.
>
> But the user (it's actually me ;-) ) has calendars, addressbooks and  
> a task list ... and as mentioned, it worked with _this_  
> Horde-installation with an older 5.x.x-release that way perfectly.  
> For me it looks like something was through an updated altered or  
> overwritten ...
>
> clueless
> Christoph.
>
>
> -- 
> Christoph Haas
> email: chhaas-ml at ukbw.de

That's because you didn't send the 2nd request to the referenced  
calendar-home-set from the 1st request. You have to send it to  
/horde/rpc.php/calendars/user/

-- 
Jan Schneider
The Horde Project
http://www.horde.org/



More information about the kronolith mailing list