Open tobixen opened 3 months ago
For calendar.mail.ru
, calendar.objects()
will just throw a NotFoundError
, even if calendar.events()
yields results.
I'll work around it with a compatibility hook in the test code, but the proper solution depends on #402
calendar.mail.ru
will yield a400 Bad Request
-error when doing a query that does not specify if we want events or tasks (or journals), including the query "give me everything on the calendar" and "give me the object with the specified UID".The test framework already supports DAViCal, and there is a hack in the
object_by_uid
-method to support DAViCal, but the behaviour fromcalendar.mail.ru
is not very well supported.Tasks:
object_by_uid
-method already has some fallback functionality when nothing is found (supporting for DAViCal), make sure the same fallback functionality works when400 Bad Request
is returned from the calendar servercalendar.mail.ru
, and to do separate searches for events and tasks on DAViCal and combine the results.