6.0.0-beta1
7/14/25

[#11016] RFC non- compilance: creating event in remote owncloud calender fails
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 02/20/2012 (4893 days ago)
Due
Updated 02/22/2012 (4891 days ago)
Assigned
Resolved 02/22/2012 (4891 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
02/22/2012 03:01:43 PM Jan Schneider Comment #2
State ⇒ Duplicate
Reply to this comment
02/20/2012 10:31:49 PM d-fens (at) 00010111 (dot) de Comment #1
State ⇒ Unconfirmed
Priority ⇒ 2. Medium
Type ⇒ Bug
Summary ⇒ RFC non- compilance: creating event in remote owncloud calender fails
Queue ⇒ Kronolith
Milestone ⇒
Patch ⇒ No
Reply to this comment
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


Saved Queries