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
F12010518: D4457.diff
Sat, May 4, 11:54 PM
Unknown Object (File)
Wed, Apr 17, 10:48 AM
Unknown Object (File)
Wed, Apr 17, 10:48 AM
Unknown Object (File)
Wed, Apr 17, 10:48 AM
Unknown Object (File)
Wed, Apr 17, 10:48 AM
Unknown Object (File)
Wed, Apr 17, 10:48 AM
Unknown Object (File)
Wed, Apr 17, 10:48 AM
Unknown Object (File)
Mon, Apr 15, 4:13 AM
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.