-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CalDav Support of the <limit> tag in order to support clients such as OneCalendar #18490
Comments
cc @nextcloud/calendar I guess we don't support this case properly: https://tools.ietf.org/html/rfc6578#section-3.11 |
Related PR #10842 |
Just as a comment from my side: It's up to OneCalendar to handle that case properly. |
I fixed this temporarily on my instance by editing /var/www/nextcloud/apps/dav/lib/CalDAV/Calendar.php and commenting out these lines:
|
I strongly advise anyone against applying that temporary "fix", as there are reasons why that check is in place. There is the chance of silent errors and possibly even data-loss. |
I absolutely agree. Of course a backup should be made before applying this (and in general any) workarounds. |
Hi, @lueppi : where and how exactly did you apply your work around I am also open for other calendar apps, but have not found any where I can just simply log in with the server and my log in details... any suggestions? |
The path may differ depending on the system and configuration. For my instance running on Debian Buster it's the path mentioned above and this were the changes I made. Please pay attention to the comment from georgehrke, because this workaround can be dangerous and you should use it very carefully. Since this is mainly a problem during initialization, the workaround should be restored as soon as the app is initialized. I now use the DAVx5 for Android devices, with which I was also able to synchronize my calendars. |
I've had this issue for a long time with onecalendar and nextcloud now, and it's severely breaking the usability of an otherwise very appealing combination due to onecalendar's features and widget. onecalendar fails to sync leaving deleted meetings on my calendar and fails to insert new meetings. I would look for alternatives but it took me forever to find something as good as onecalendar :(. I'd love for this problem to get a structural solution. edit: I'm using the android version for the widget+meeting reminders mainly. |
Hi, |
I just updated both my android client, and my nextcloud to the latest beta stream, and I am still seeing these errors in my server logs:
Note: I flushed my onecalendar cache/data entirely (twice). In nextcloud itself, the calendar appears normal. Thunderbird also connects to this caldav server from 2 places and it has no issues getting updates/syncing. |
@JeroenBer If it's not clear from my post, onecalendar tries to sync (generating the error on the server) and doesn't see any item at all. I've enabled logging (both logging and debug) and after pushing the sync button once, "view log file" appears to hang the client, but it eventually shows. However, "copy text" causes it to crash :) - it's obviously filled with tons of request output, not sure other than screenshots how I can extract this for you - is it on the device as a file? |
@JeroenBer interesting data point: I tried adding the server as "caldav" instead of "nextcloud" type and while it threw the above posted error message on the server, I am now seeing calendar entries appear on onecalendar. So, that's progress at least. |
Its great that one calendar is trying to fix the issue. However, I have given up and changed to a new app. |
I will close this issue, because it is not an issue in the server, but in a 3rdparty client software that was fixed. |
Maybe it should be noted that OpenSync is just an unmaintained (and for some versions broken) clone of DAVx5 :) |
Hi, If you have any more problems regarding OneCalendar please contact us at: [email protected] |
I would like to use on my Windows10 clients OneCalendar to access the NextCloud calendar (running on NextCloud 17.0.2) since the Microsoft calendar app does only synch the next 5 months properly. Unfortunately according to the OneCalendar hotline the NextCloud CalDav implementation does not support the limit tag and thus throws an exception:
Part of the error message:
<d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException</s:exception> <s:message/> <d:number-of-matches-within-limits/> </d:error>
...
RequestData: <sync-collection xmlns="DAV:"> <sync-token /> <sync-level>1</sync-level> <limit> <nresults>1000</nresults> </limit> <prop> <getetag /> </prop> </sync-collection> ResponseData: <?xml version="1.0" encoding="utf-8"?> <d:error xmlns:d="DAV:" xmlns:s="http://sabredav.org/ns"> <s:exception>OCA\DAV\Exception\UnsupportedLimitOnInitialSyncException</s:exception> <s:message/> <d:number-of-matches-within-limits/> </d:error>
The text was updated successfully, but these errors were encountered: