gdata-provider
gdata-provider copied to clipboard
Importing an event with an attendee using id instead of mailto causes "Missing attendee email" message.
Describe the problem and steps to reproduce it:
I imported an event from iCloud (ics format) into a Google Calendar
What happened?
The event doesn't show up in Google Calendar (but it does show up in Thunderbird). The console shows:
console.log: Lightning: [calGoogleCalendar] A request Error Occurred. Status Code: 400 Bad Request Body: {
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Missing attendee email."
}
],
"code": 400,
"message": "Missing attendee email."
}
}
console.error: Lightning:
[calGoogleCalendar] Adding Item XXXXXXXXXXXXX failed:2147746065: A request Error Occurred. Status Code: 400 Bad Request Body: {
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Missing attendee email."
}
],
"code": 400,
"message": "Missing attendee email."
}
}
console.warn: Lightning: [calCachedCalendar] Unable to perform playback action add to the server, will try again next time (87e1fdf2-4bf4-403d-9b1d-41a8d7afcb4f,A request Error Occurred. Status Code: 400 Bad Request Body: {
"error": {
"errors": [
{
"domain": "global",
"reason": "required",
"message": "Missing attendee email."
}
],
"code": 400,
"message": "Missing attendee email."
}
}
)
What did you expect to happen?
The event shows in Google Calendar
Anything else we should know?
ICS file attached (after anonymization) iCal-2020614.ics
Version 68.8.0 Lightning 68.8.0 Provider for Google Calendar 68.2.1
Similar/same issue here: Importing .ics invites to Lightning makes them show up in Lightning, but not in Google calendar. In spite of associating the event with a specific google calendar after import.
Invite is from iCloud. Thunderbird: 68.7.0 (64-bit) OS: Pop!_OS 20.04 LTS
Probably Google Calendar's API is more strict than Lightning's
iCloud sometimes have attendees identified by a uid instead of an email. One possible fix would be to attempt to get the EMAIL
parameter if the property value is not mailto:
.