[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kronolith
Subject:    Re: [kronolith] horde/rpc.php/principals/user/ empty since some releases
From:       Jan Schneider <jan () horde ! org>
Date:       2016-04-07 12:39:59
Message-ID: 20160407143959.Horde.yrwFxgZvR5zlDZr5CVMbMrJ () neo ! wg ! de
[Download RAW message or body]


Zitat von Christoph Haas <chhaas-ml@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@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/

-- 
kronolith mailing list
Frequently Asked Questions: http://wiki.horde.org/FAQ
To unsubscribe, mail: kronolith-unsubscribe@lists.horde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic