[korganizer] [Bug 437853] New: Google calendar refuses invite sent to different mail address

Maarten ter Huurne bugzilla_noreply at kde.org
Sun May 30 09:49:59 BST 2021


https://bugs.kde.org/show_bug.cgi?id=437853

            Bug ID: 437853
           Summary: Google calendar refuses invite sent to different mail
                    address
           Product: korganizer
           Version: 5.17.0
          Platform: openSUSE RPMs
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: import/export
          Assignee: kdepim-bugs at kde.org
          Reporter: maarten at treewalker.org
  Target Milestone: ---

SUMMARY

I received an invite as an ICS file on my main mail address, which is not a
GMail address. I wanted to add it to my Google Calendar (different account, but
both configured in Kontact), so I could access it from my Android phone.
KOrganizer reported "1 incidence was imported successfully" in a blue bar at
the bottom of the screen. However, the event wasn't added to the calendar.

STEPS TO REPRODUCE
1. Create an ICS file with a non-Google e-mail address as the attendee.
2. Try to add that event to a Google calendar.

OBSERVED RESULT

In the logging of Akonadi, I found this:

org.kde.kgapi: Bad request, Google replied '
"{\"error\":{\"errors\":[{\"domain\":\"calendar\",\"reason\":\"participantIsNeitherOrganizerNorAttendee\",\"message\":\"The
owner of the calendar must either be the organizer or an attendee of an event
that is imported.\"}],\"code\":400,\"message\":\"The owner of the calendar must
either be the organizer or an attendee of an event that is imported.\"}}" '
org.kde.pim.google: Got error: KGAPI2::EventCreateJob(0x564b09f142f0) "Bad
request."

EXPECTED RESULT

Ideally, KOrganizer would rewrite the attendee field to match the e-mail
address that is tied to the calendar, when the attendee is a different mail
identity of the user.

In any case, KOrganizer should not report a successful import when Google's
server rejected the API call.

SOFTWARE/OS VERSIONS
Linux distro: openSUSE Tumbleweed
KDE Plasma Version: 5.21.4
KDE Frameworks Version: 21.04.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Kdepim-bugs mailing list