Skip to content
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

fix: event update http 400 due to description #190

Merged
merged 2 commits into from
Sep 4, 2024
Merged

fix: event update http 400 due to description #190

merged 2 commits into from
Sep 4, 2024

Conversation

lyind
Copy link
Contributor

@lyind lyind commented Sep 3, 2024

Closes https://github.com/giantswarm/giantswarm/issues/31517

Summary

Fix a long standing and confusing issue with "half synced" outOfOffice events (time-offs created in Personio but unable to update Google Calendar and make the permanent connection).

The problem was triggered when Google Calendar stopping to accept PUT requets with events containing a description field for events with eventType set to anything but 'default'.

This PR also improves the unsync helper functions, even though a completely custom unsync function is required to cleanup the mess (disjoint events in Personio) created by this bug.

@lyind lyind self-assigned this Sep 3, 2024
@lyind lyind requested a review from a team as a code owner September 3, 2024 10:19
@lyind lyind requested a review from glitchcrab September 3, 2024 10:20
@lyind lyind requested a review from marians September 3, 2024 16:23
@lyind lyind enabled auto-merge (squash) September 3, 2024 16:24
@lyind lyind merged commit b43ffc2 into main Sep 4, 2024
6 checks passed
@lyind lyind deleted the fix-ooo-sync branch September 4, 2024 09:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants