topcoder-platform / taas-app

TaaS App Front End
3 stars 24 forks source link

Create Virtual Calendar if we have UserMeetingSettings with all deleted calendars #550

Closed maxceem closed 2 years ago

maxceem commented 2 years ago

If we connect Google/Microsoft calendar using the same email as logged-in user email and then remove it the meeting would be created anyway using some calendar.

  1. Use user who doesn't have yet UserMeetingSettings record

  2. Connect Google or Microsoft calendar using the same email as logged-in user email

  3. Remove connected calendar. So the UserMeetingSettings for the user would look like:

    image

  4. Now try to schedule a new meeting. It would be scheduled using nylasCalendarId which is not listed in UserMeetingSettings.

Expected behaviour:

maxceem commented 2 years ago

Fixed by https://github.com/topcoder-platform/taas-apis/commit/70db75ff6eaaeb77d2ab77a638d12c55334bb9f5

QA note: it's hard to test it without checking code and DB state, so we would not pass it to QA.

maxceem commented 2 years ago

Closing, as it cannot be tested by QA.