On Thursday, February 23, 2017 at 1:14:11 PM UTC-5, demo.be...@gmail.com
wrote:
>
>
> Hi everybody
>
> We have written a module to add CalDAV/CardDAV support to Dolibarr CRM
> software based on SabreDAV 3.0.8
>
> A user encounter a problem when creating a new event on his iPhone (7),
> the event is correctely created on CRM, return to iPhone calendar with the
> right UUID (containing Dolibarr event id) but original event is still
> present on iPhone. So we have a duplicate event on iPhone.
>
> This problem does not occur with Thunderbird/lightning or DAVDroid client.
>
> I suppose there something wrong in my CalDAV backend implementation but I
> don't know what.
>
> Is there someone to help me ?
>
> Here is the source :
> https://github.com/Befox/cdav/blob/master/class/CalDAVDolibarr.php
>
> Many thanks
>
> Jean-Pierre
>
Hi Jean-Pierre,
The mistake is exactly in your description. The iPhone creates an event
with a UID (note that it's not a UUID). Events should always keep their UID
for their entire lifetime. By changing it, you are violating the
specification and confusing the iPhone.
Note that this is not just a problem with iPhone, it would be
malfunctioning in Thunderbird as well if the event for example came from an
external source, such as an email invite.
Evert
--
You received this message because you are subscribed to the Google Groups
"SabreDAV Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to sabredav-discuss+unsubscr...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/sabredav-discuss/487b8b36-4ab7-4ae5-96c4-bebd9fce4793%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.