apple / ccs-caldavtester

CalDAV/CardDAV Testing Framework used by CalendarServer
https://www.calendarserver.org
Apache License 2.0
57 stars 36 forks source link

Failed Verifier calendarDataMatch for ics with multiple vevents #31

Open brunt82 opened 6 years ago

brunt82 commented 6 years ago

Script implicitbadclients: All verifications with calendarDataMatch fail with the following error message: Response data is not calendar data: 'NoneType' object has no attribute 'getText'

But it seems that this only occurs if the ics contains multiple vevents, e.g.:

BEGIN:VCALENDAR
PRODID:-//Example Corp.//CalDAV Client//EN
VERSION:2.0
BEGIN:VEVENT
UID:2@example.com
SUMMARY:Weekly Meeting
DTSTAMP:20041210T183838Z
DTSTART:20041206T120000Z
DTEND:20041206T130000Z
RRULE:FREQ=WEEKLY
END:VEVENT
BEGIN:VEVENT
UID:2@example.com
SUMMARY:Weekly Meeting
RECURRENCE-ID:20041213T120000Z
DTSTAMP:20041210T183838Z
DTSTART:20041213T130000Z
DTEND:20041213T140000Z
END:VEVENT
END:VCALENDAR

As soon as I remove the second vevent, the verifier matches correctly.

I don't know it it is an issue of CalDavTester or from the python class pycalendar.