kewisch / gdata-provider

Provider for Google Calendar
https://addons.thunderbird.net/thunderbird/addon/provider-for-google-calendar/
Other
237 stars 31 forks source link

Adding a gcal seems to be broken due to reminders (for read-only events?) #673

Closed EugenMayer closed 5 months ago

EugenMayer commented 8 months ago

Describe the problem and steps to reproduce it:

When i close TB and start it again , the 72 past reminders are shown again, i can press ESC and the calender will get 'The calendar xxx is momentarly not available'

Enabling debug loggin i see

Calendar: [calGoogleCalendar] Modifying item XXXX failed:2147500037: {
 "error": {
  "errors": [
   {
    "domain": "calendar",
    "reason": "forbiddenForNonOrganizer",
    "message": "Shared properties can only be changed by the organizer of the event."
   }
  ],
  "code": 403,
  "message": "Shared properties can only be changed by the organizer of the event."
 }
}

This even in particular is not organized by me, so i'am not sure what the operation is trying to do when i press snooze/dismiss in general. Seems to be an attempt to manipulate an event even though i cannot - but for what reaons

What happened?

Calender is marked ''The calendar xxx is momentarly not available''

What did you expect to happen?

Dismiss all reminders (or not even see past reminders) and the calender not being marked as ''The calendar xxx is momentarly not available''

Anything else we should know?

EugenMayer commented 8 months ago

Related to https://github.com/kewisch/gdata-provider/issues/3 i suppose?

Marking the calender read-only indeed solves that the calendar is marked 'The calendar xxx is momentarly not available' - but this means i have a read only calender i could also consume a ical feed to get that alone.

Is there any better way to fix that?

kewisch commented 5 months ago

This will be the issue I identified in #690, thanks for reporting!

EugenMayer commented 5 months ago

Time to fork it then