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

After deleting an event, get() call is being successful #1535

Closed
KSVarun opened this issue Jun 16, 2020 · 2 comments
Closed

After deleting an event, get() call is being successful #1535

KSVarun opened this issue Jun 16, 2020 · 2 comments
Labels
api: calendar Issues related to the Calendar API API. priority: p4 type: question Request for information or clarification. Not an issue.

Comments

@KSVarun
Copy link

KSVarun commented Jun 16, 2020

Environment details

  1. Google calendar API
  2. OS type and version: Mac OS
  3. Java version: 1.8
  4. google-api-client version(s): 1.30.9

Steps to reproduce

  1. Create an event with Event event = service.events().insert(calendarId, event).execute();
  2. Delete the event with service.events().delete(calendarId, event.getId()).execute();
  3. Get the event with event = service.events().get(calendarId, event.getId()).execute();

External references such as API reference guides

https://developers.google.com/calendar/v3/reference/events/insert
https://developers.google.com/calendar/v3/reference/events/delete
https://developers.google.com/calendar/v3/reference/events/get

.get() call should fail right? after deleting the event. But I am able to get a successful response with appropriate details of previously created event.

Thanks!

@JustinBeckwith JustinBeckwith added the api: calendar Issues related to the Calendar API API. label Jun 16, 2020
@yoshi-automation yoshi-automation added the triage me I really want to be triaged. label Jun 16, 2020
@KSVarun
Copy link
Author

KSVarun commented Jun 17, 2020

It seems deleting an event won't actually delete the event but just tags it as cancelled. Hence when we do a get call we will be able to fetch the event.

Correct me if am wrong.

@yoshi-automation yoshi-automation added the 🚨 This issue needs some love. label Jun 21, 2020
@chingor13 chingor13 added the type: question Request for information or clarification. Not an issue. label Jun 22, 2020
@yoshi-automation yoshi-automation removed triage me I really want to be triaged. 🚨 This issue needs some love. labels Jun 22, 2020
@burkedavison
Copy link
Member

Closing this issue as we are unable to provide adequate customer support through this forum. If you feel there is a bug or a feature request associated with this ticket, please open a new issue. Otherwise, https://cloud.google.com/support is best able to provide timely answers to API-specific questions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: calendar Issues related to the Calendar API API. priority: p4 type: question Request for information or clarification. Not an issue.
Projects
None yet
Development

No branches or pull requests

6 participants