Summary: | When accepting invitation into google calendar resource im set as organizer | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libkgapi | Reporter: | Witko <kos.na.bordel> |
Component: | calendar | Assignee: | Daniel Vrátil <dvratil> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | 2.0.2 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/pim/libkgapi/commit/a48887dbbc9bdc7da50c1f93c7235c16620bba36 | Version Fixed In: | 5.17 |
Description
Witko
2013-12-10 08:47:11 UTC
It's actually Google who set email (ID) of the calendar as organizer of the event - libkgapi uploads correct organizer, but Google returns stored event with the new organizer. I'll see whether we can override it. Git commit a48887dbbc9bdc7da50c1f93c7235c16620bba36 by Simone Scalabrino. Committed on 19/12/2020 at 10:09. Pushed by knauss into branch 'master'. First attempt to fix bug 328616 As reported in https://bugs.kde.org/show_bug.cgi?id=328616, when a user accepts an invitation to an event, when it is loaded on Google Calendar, it creates a new event with the user as the organizer. To prevent this, the "import" API should be used instead of the "insert" API. With this change, the organizer is checked against the account name of the user: if they match, the event is created (previous implementation), otherwise the event is imported ("import" API). This still requires some tests to check if it does not break anything. FIXED-IN: 5.17 M +1 -1 autotests/calendar/data/event1_create_request.txt M +2 -2 autotests/calendar/data/event2.json M +2 -2 autotests/calendar/data/event2_create_request.txt M +2 -2 autotests/calendar/data/event2_create_response.txt M +2 -2 autotests/calendar/data/event2_modify_request.txt M +2 -2 autotests/calendar/data/event2_modify_response.txt M +2 -2 autotests/calendar/data/events_fetch_page2_response.txt M +10 -0 src/calendar/calendarservice.cpp M +8 -0 src/calendar/calendarservice.h M +12 -1 src/calendar/eventcreatejob.cpp https://invent.kde.org/pim/libkgapi/commit/a48887dbbc9bdc7da50c1f93c7235c16620bba36 |