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

Importing an event with an attendee using id instead of mailto causes "Missing attendee email" message. #82

Open
MLopez-Ibanez opened this issue Jun 25, 2020 · 3 comments
Labels
defect This is a bug future This issue won't be fixed in the legacy version. Work to be completed on the main branch instead.

Comments

@MLopez-Ibanez
Copy link

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

@norsimon
Copy link

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

@MLopez-Ibanez
Copy link
Author

Probably Google Calendar's API is more strict than Lightning's

@kewisch
Copy link
Owner

kewisch commented Aug 4, 2020

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:.

@kewisch kewisch changed the title Event imported from ics file is not synchronised to Google Calendar Importing an event with an attendee using id instead of mailto causes "Missing attendee email" message. Aug 4, 2020
@kewisch kewisch added the defect This is a bug label Aug 4, 2020
@kewisch kewisch added the future This issue won't be fixed in the legacy version. Work to be completed on the main branch instead. label Sep 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect This is a bug future This issue won't be fixed in the legacy version. Work to be completed on the main branch instead.
Projects
None yet
Development

No branches or pull requests

3 participants