julisanchez / caldav_client

MIT License
7 stars 5 forks source link

not getting allDayEvents at all / getObjectsInTimeRange alway empty #2

Open filly82 opened 2 years ago

filly82 commented 2 years ago

hey,

first of all thanks for the awesome package, couldn't believe that it's the only caldav package in the dart ecosystem. I was very happy that it exists and it works pretty well so far

but i noticed that 1) when fetching VEvents with client.getObjects(calendarItem.urlPath, depth: 1) that no event which is an all-day-event is coming back 2) when fetching with client.getObjectsInTimeRange(calendarItem.urlPath, start, end, depth: 1,) nothing is coming back, not even the not-all-day-events that worked with client.getObjects(calendarItem.urlPath, depth: 1)

don't know what more information I can give you, because everything else is working fine. I'm using the code from your example if you need some more information just tell me what exactly you need

my caldav server is a nextcloud instance, not the latest, because it is part of mailinabox (https://mailinabox.email/) there are a lot of No property implementation found for XXXXX warnings when fetching the objects, but they seem to belong to the objects that are coming back so I guess that won't help you

erikseifert commented 2 years ago

Same to me. Try it with sogo.

brokoli18 commented 3 months ago

I am getting something somewhat similar to @filly82 . When I use getObjectsInTimeRange I get the below error:

  "message": "You cannot add time-range filters on the VCALENDAR component",
  "userAgent": "Dart/3.3 (dart:io)",
  "version": "26.0.12.2",          

fwiw I am using nextclouds implementation of the calendar app.