kewisch / gdata-provider

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

Categories cannot be stored on invitation events ("Shared properties can only be changed by the organizer of the event") #690

Open lorenzsch opened 10 months ago

lorenzsch commented 10 months ago

What happened?

A reminder popup cannot be closed. when I click on "close" the main google-calendar immediatelly getting an the status "read-only" or more specifically a warning sign stating "calendar currently not available" at hover over the warning. however, calender-events can be created in TB and are properly synced to the google calendar.

What did you expect to happen?

expected that by clicking on "close" the reminder would go away and the popup windows to close, but it remains open.

Anything else we should know?

removed all clanders, and created wit with new-calendar -> Google Calendar -> and all google claendars are showing up again. so it basically works well and is is very easy to link to google.

it seems that the system does not allow me to close the reminder with the "excuse" that it belives I am not the owner of this event. see "reason": "forbiddenForNonOrganizer" in the error console text further down.

1700681856904 addons.xpi WARN Checking /usr/lib/thunderbird/distribution/extensions for addons 1700681858655 addons.xpi WARN Addon with ID thunderbird-compact-light@mozilla.org already installed, older version will be disabled 1700681858656 addons.xpi WARN Addon with ID thunderbird-compact-dark@mozilla.org already installed, older version will be disabled Assert failed: Calendar manager initialised calendars before loadCalendarComponent ran on the first 3pane window. This should not happen. calUtils.jsm:130:15 Found 2 public keys and 2 secret keys (2 protected, 0 unprotected) RNPLib.jsm:551:15 services.settings: Failed to load last_modified.json: TypeError: NetworkError when attempting to fetch resource. Utils.sys.mjs:322 Diese Seite befindet sich im Kompatibilitätsmodus (Quirks). Das Seitenlayout kann beeinflusst werden. Verwenden Sie für den Standardmodus "<!DOCTYPE html>". background.html mboxImportModule -3 importMboxModule-3.js:49:9 mboximportExport -3 mboxImportExport-3.js:35:9 tb.account.size_on_disk - Truncating float/double number. 4 Calendar: [calGoogleCalendar] Modifying item Mangold 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." } } gdataCalendar.jsm:575 NS_ERROR_FAILURE: [xpconnect wrapped (nsIClassInfo, calIItemBase, calIEvent, calIInternalShallowCopy)] calCachedCalendar.js:761 Calendar: [calGoogleCalendar] Modifying item Mangold 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." } } gdataCalendar.jsm:575 NS_ERROR_FAILURE: [xpconnect wrapped (nsIClassInfo, calIItemBase, calIEvent, calIInternalShallowCopy)] calCachedCalendar.js:761 Calendar: [calGoogleCalendar] Modifying item Mangold 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." } } gdataCalendar.jsm:575 NS_ERROR_FAILURE: [xpconnect wrapped (nsIClassInfo, calIItemBase, calIEvent, calIInternalShallowCopy)] calCachedCalendar.js:761 Calendar: [calGoogleCalendar] Modifying item Mangold 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." } } gdataCalendar.jsm:575 NS_ERROR_FAILURE: [xpconnect wrapped (nsIClassInfo, calIItemBase, calIEvent, calIInternalShallowCopy)] calCachedCalendar.js:761 WebGL context was lost. 2 Troubleshoot.sys.mjs:710:17 Missing resource in locale de: devtools/client/toolbox.ftl

kewisch commented 8 months ago

I think I've identified the issue. I'm storing category info in the shared properties, which seems smart, but obviously won't work on non-organizer events.

unode commented 4 months ago

I'm also still seeing this with 115.2.0 :

Calendar: [calGoogleCalendar] Modifying item <REDACTED> 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."
 }
}

Some are logged as errors while others as warnings. E.g. a warning:

Calendar: [calGoogleCalendar] Modifying item <REDACTED> 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."
 }
}

After some 10+ of these errors I also see two additional errors:

which I'm not sure if related or different issues.