| Summary | RFC non- compilance: creating event in remote owncloud calender fails |
| Queue | Kronolith |
| Queue Version | Git master |
| Type | Bug |
| State | Duplicate |
| Priority | 2. Medium |
| Owners | |
| Requester | d-fens (at) 00010111 (dot) de |
| Created | 2/20/12 (5232 days ago) |
| Due | |
| Updated | 2/22/12 (5230 days ago) |
| Assigned | |
| Resolved | 2/22/12 (5230 days ago) |
| Github Issue Link | |
| Github Pull Request | |
| Milestone | |
| Patch | No |
State ⇒ Duplicate
Bug #10741State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ RFC non- compilance: creating event in remote owncloud calender fails
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
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