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

Declined invitations are added to calendar anyway. (Bugzilla Bug 1334522) #9

Closed
kewisch opened this issue Jan 27, 2017 · 6 comments
Closed

Comments

@kewisch
Copy link
Owner

kewisch commented Jan 27, 2017

Bugzilla Bug 1334522

Date: 2017-01-27T17:31:52+01:00
From: John <bugzilla@irowat.ca>
Assigned To: nobody

Last updated: 2019-09-11T13:21:41+02:00

@kewisch
Copy link
Owner Author

kewisch commented Jan 27, 2017

Comment 12016569

Date: 2017-01-27 17:31:52 +0100
From: John <bugzilla@irowat.ca>

User Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:51.0) Gecko/20100101 Firefox/51.0
Build ID: 20170125094131

Steps to reproduce:

Event invitations that I decline in Thunderbird are added to my Google Calendar anyway.

To reproduce:
0) Set up Thunderbird 45.7.0 (current version) on Windows 10 and configure an email account

  1. Install Lightning 4.7.7 and Provider For Google Calendar 3.1 (all current versions)
  2. Configure a Google Calendar in Lightning and sync it.
  3. Receive an invitation to an event in Thunderbird
  4. Decline the invitation to the event.

Actual results:

The event is added to my Google Calendar, shows in Lightning, and syncs to my other devices. I am listed as the organiser of the event.

Expected results:

The event is not added to the calendar.

@kewisch
Copy link
Owner Author

kewisch commented Jan 28, 2017

Comment 12018549

Date: 2017-01-28 11:33:24 +0100
From: [:MakeMyDay] <makemyday@gmx-topmail.de>

Is this your primary Google calendar?

Can you please check in the online Google calendar UI, whether the event is already added to your calendar serverside before you're replying? And if so, whether or not your participation status has changed after declining the invitation in Lightning?

Also, can you please enable calendar.debug.log and calendar.debug.log.verbose in the advanced preferences, clear the error console, reproduce the issue and attach/post the log messages you got to, so we can see what Lightning has effectively sent to the Google server?

@kewisch
Copy link
Owner Author

kewisch commented Jan 29, 2017

Comment 12019752

Date: 2017-01-29 23:48:05 +0100
From: John <bugzilla@irowat.ca>

This is my primary Google calendar and the only Calendar set up in Thunderbird. The email account is an IMAP account that is not my Google account.

Before I interact with the event (beyond reading the invitation) it does not appear in Lightning or in Google Calendar. It is added to the calendar when I decline the invite.

Enabled the debug log and verbose log, cleared console, and clicked "decline". Result:

======================================================================
[calGoogleRequest] Requesting POST https://www.googleapis.com/calendar/v3/calendars/john.__MYNAME__%40gmail.com/events/import

[calGoogleCalendar] Setting Upload Data (application/json; charset=UTF-8):
{"start":{"dateTime":"2017-01-29T00:00:00Z","timeZone":"UTC"},"end":{"dateTime":"2017-01-29T01:00:00Z","timeZone":"UTC"},"iCalUID":"_MYUID_@google.com","created":"2017-01-29T22:30:45.000Z","updated":"2017-01-29T22:36:50.000Z","summary":"Stuff","description":"View your event at https://www.google.com/calendar/event?__CODE__","transparency":"opaque","sequence":"0","status":"confirmed","reminders":{"overrides":[],"useDefault":false}}

[calGoogleCalendar] Request POST https://www.googleapis.com/calendar/v3/calendars/john.__MYNAME__%40gmail.com/events/import responded with HTTP 200

[calGoogleCalendar] Parsing entry:
{
 "kind": "calendar#event",
 "etag": "\"2971458820290000\"",
 "id": "__MYUID__",
 "status": "confirmed",
 "htmlLink": "https://www.google.com/calendar/event?eid=__CODE__",
 "created": "2017-01-29T22:36:50.000Z",
 "updated": "2017-01-29T22:36:50.256Z",
 "summary": "Stuff",
 "description": "View your event at https://www.google.com/calendar/event?action=VIEW&eid=__CODE__",
 "creator": {
  "email": "john.__MYNAME__@gmail.com",
  "displayName": "John __MYNAME__",
  "self": true
 },
 "organizer": {
  "email": "john.__MYNAME__@gmail.com",
  "displayName": "John __MYNAME__",
  "self": true
 },
 "start": {
  "dateTime": "2017-01-28T19:00:00-05:00"
 },
 "end": {
  "dateTime": "2017-01-28T20:00:00-05:00"
 },
 "iCalUID": "__MYUID__@google.com",
 "sequence": 0,
 "reminders": {
  "useDefault": false
 }
}


[calGoogleCalendar] Adding Stuff succeeded
======================================================================

The event was called "Stuff" since it was a test. The person who invited me to the event is NOT listed as an attendee.

I have replaced my email address and the unique IDs of my calendar and the event in the logs above, surrounding them with UNDERSCORES. It's a little bit of privacy paranoia that I hope won't cause trouble with the investigation.

Anything else you need?

@kewisch kewisch added the defect This is a bug label Sep 11, 2019
@marcdeop
Copy link

I am also affected by this bug.

Is there any work being done on the subject? Can we supply more information that will help this get fixed?

Best regards,

Marc

@kewisch kewisch added the investigate Maintainer will try to reproduce this issue label Sep 19, 2021
@kewisch
Copy link
Owner Author

kewisch commented Sep 19, 2021

Would be great to get this tested in Thunderbird 91 with the Provider 91.0.2 which I am going to release soon. Here is a preview:
gdata-provider-91.0.2pre3.xpi.zip

Here are some steps to get more info:

  1. Enable logging as per https://github.com/kewisch/gdata-provider/wiki/FAQ#enabling-debugging
  2. Make sure you have all the scheduling and attendee options enabled in the Add-on Options
  3. Maybe re-subscribe to the calendar
  4. When you decline the invitation, do you get a message [calGoogleCalendar] Adding invitation event My Event Name ? Or does it say ...Adding regular event...
  5. In the event data that is sent, does it properly show your email as an attendee and declined?
  6. Does is properly set the other person as the organizer and you as an attendee?

@kewisch kewisch added needinfo Need more information and removed defect This is a bug investigate Maintainer will try to reproduce this issue labels Sep 19, 2021
@github-actions
Copy link

It looks like we haven't heard back on this issue, therefore we are closing this issue. If this problem persists in the latest version of Thunderbird and the Provider for Google Calendar, please re-open this issue.

@github-actions github-actions bot removed the needinfo Need more information label Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants