Page MenuHomePhorge

Lookup existing events even when creating a new event
ClosedPublic

Authored by mollekopf on Jul 26 2023, 12:00 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sun, Oct 27, 4:31 PM
Unknown Object (File)
Thu, Oct 24, 10:23 PM
Unknown Object (File)
Fri, Oct 18, 8:09 PM
Unknown Object (File)
Thu, Oct 17, 7:21 AM
Unknown Object (File)
Tue, Oct 15, 2:26 PM
Unknown Object (File)
Sun, Oct 6, 8:56 PM
Unknown Object (File)
Sep 18 2024, 5:13 AM
Unknown Object (File)
Sep 17 2024, 6:31 PM
Subscribers

Details

Summary

If the client doesn't know about an already existing event, we will
otherwise overwrite whatever was there (because the uid and therefor
serverid will be the same). In case of outlooks dummy event
on acceptance that means resetting the attendee status to 0 (after it
was set to accepted via the MeetingResponse).

Diff Detail

Repository
rS syncroton
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

mollekopf created this revision.

I suppose we'll need the same thing for all non mail types.

mollekopf retitled this revision from Lookup existing events even when creating a new event to Lookup existing events/todos/... even when creating a new entry.
mollekopf edited the summary of this revision. (Show Details)

Generalized the lookup to apply to all types

That last change was not useful, it's actually event specific. No other type has a uid in activesync (not even tasks), so I don't suppose there is a method to deduplicate anything.

mollekopf retitled this revision from Lookup existing events/todos/... even when creating a new entry to Lookup existing events even when creating a new event.
mollekopf edited the summary of this revision. (Show Details)

Revert to be event specific

machniak subscribed.
machniak added inline comments.
lib/kolab_sync_data_calendar.php
348

After you removed $event this line needs to change.

This revision now requires changes to proceed.Jul 26 2023, 3:04 PM

Check the $entry instead of the $event

This revision is now accepted and ready to land.Jul 26 2023, 7:21 PM
This revision was automatically updated to reflect the committed changes.