monkeyfdude / caldav4j

Automatically exported from code.google.com/p/caldav4j
0 stars 0 forks source link

Testdata contains forbidden (for caldav) METHOD property #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Running FunTest against the Apple CalendarServer on Ubuntu Linux

What is the expected output? What do you see instead?

Expected: a succeeding test

Instead, in the unittest output:

DEBUG - BaseTestCase.put(190) | 
PUT /calendars/users/raboof/caldav4j/Floating_Jan_2_7pm.ics
<?xml version='1.0' encoding='UTF-8'?>
<error xmlns='DAV:'>
  <valid-calendar-object-resource xmlns='urn:ietf:params:xml:ns:caldav'/>
</error>

In the server logging:

2009-03-26 01:31:49+0100 [-] [caldav-8009]  [-]
[twistedcaldav.method.put_common#error] Calendar data does not conform to
CalDAV requirements: METHOD property is not allowed in CalDAV iCalendar data

in Floating_Jan_2_7pm.ics:

METHOD:PUBLISH

I think that line should be removed. After removing it the tests succeeds.

What version of the product are you using? On what operating system?
svn trunk on ubuntu linux

Original issue reported on code.google.com by arnout.engelen on 26 Mar 2009 at 12:36

GoogleCodeExporter commented 9 years ago
Bedework accepts it: can you check the icalendar specifications, pls?

Original comment by robipo...@gmail.com on 7 Apr 2009 at 6:09

GoogleCodeExporter commented 9 years ago
That's section 4.1 of RFC 4791, second paragraph:

Calendar object resources contained in calendar collections MUST NOT specify the
iCalendar METHOD property.

Original comment by arnout.engelen on 12 Apr 2009 at 11:43

GoogleCodeExporter commented 9 years ago
Thx for the reference, ticket accepted ;) 
http://tools.ietf.org/html/rfc4791#section-4.1

Original comment by robipo...@gmail.com on 16 Apr 2009 at 2:08

GoogleCodeExporter commented 9 years ago
pls check if it works for you

Original comment by robipo...@gmail.com on 15 May 2009 at 4:35