[Tickets #11016] RFC non- compilance: creating event in remote owncloud calender fails

bugs at horde.org bugs at horde.org
Mon Feb 20 22:31:50 UTC 2012


BITTE NICHT AUF DIESE NACHRICHT ANTWORTEN. NACHRICHTEN AN DIESE  
E-MAIL-ADRESSE WERDEN NICHT GELESEN.

Ticket-URL: http://bugs.horde.org/ticket/11016
------------------------------------------------------------------------------
  Ticket           | 11016
  Erstellt Von     | d-fens at 00010111.de
  Zusammenfassung  | RFC non- compilance: creating event in remote owncloud
                   | calender fails
  Warteschlange    | Kronolith
  Version          | Git master
  Typ              | Bug
  Status           | Unconfirmed
  Priorität        | 2. Medium
  Milestone        |
  Patch            |
  Zuständige       |
------------------------------------------------------------------------------


d-fens at 00010111.de (2012-02-20 22:31) hat geschrieben:

trying to add a event fails:

debugging with wireshark showed:

horde sends:
PUT  
/owncloud/apps/calendar/caldav.php/calendars/simon/test/4f42c4a7-3978-4fdf-81d8-172ec0a80163.ics  
HTTP/1.1

with content

BEGIN:VCALENDAR
VERSION:2.0
PRODID:-//The Horde Project//Horde iCalendar Library//EN
METHOD:PUBLISH
BEGIN:VEVENT
DTSTART:20120219T230000Z
DTEND:20120220T000000Z
DTSTAMP:20120220T220942Z
UID:4f42c4a7-3978-4fdf-81d8-172ec0a80163
SUMMARY:asdasdsa
DESCRIPTION:asdsadsad
CLASS:PUBLIC
STATUS:CONFIRMED
TRANSP:OPAQUE
END:VEVENT
END:VCALENDAR

reply from owncloud  server:

HTTP/1.1 412 Precondition failed

details:

<?xml version="1.0" encoding="utf-8"?>
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns">
   <s:exception>Sabre_CalDAV_Exception_InvalidICalendarObject</s:exception>
   <s:message>The METHOD property is not allowed in calendar  
objects</s:message>
   <s:sabredav-version>1.5.7</s:sabredav-version>
</d:error>

so METHOD:PUBLISH is not allowed, see RFC  
http://www.ietf.org/rfc/rfc4791.txt at  5.3.2.1







More information about the bugs mailing list