cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

fix: Cannot read properties of undefined (reading 'timeZone')

Open Praashh opened this issue 1 year ago • 3 comments

What does this PR do?

  • Fixes #17745

Mandatory Tasks (DO NOT REMOVE)

  • [x] I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • [ ] I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • [] I confirm automated tests are in place that prove my fix is effective or that my feature works.

Checklist

  • I haven't read the contributing guide
  • My code doesn't follow the style guidelines of this project
  • I haven't commented my code, particularly in hard-to-understand areas
  • I haven't checked if my changes generate no new warnings

Praashh avatar Dec 11 '24 11:12 Praashh

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (12/11/24)

1 reviewer was added to this PR based on Keith Williams's automation.

"Add community label" took an action on this PR • (12/11/24)

1 label was added to this PR based on Keith Williams's automation.

"Add ready-for-e2e label" took an action on this PR • (01/01/25)

1 label was added to this PR based on Keith Williams's automation.

graphite-app[bot] avatar Dec 11 '24 11:12 graphite-app[bot]

The latest updates on your projects. Learn more about Vercel for Git ↗︎

2 Skipped Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jan 7, 2025 3:56am
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 7, 2025 3:56am

vercel[bot] avatar Dec 12 '24 06:12 vercel[bot]

Well this would just fix the type error but we should figure out why timeZone is missing from organizer or attendee.

This could mess up the availability checking, event creation, etc. if there is no timezone attached and we use default one

yeah agreed, I'll check/fix this 🙏

Praashh avatar Dec 12 '24 09:12 Praashh

This PR is being marked as stale due to inactivity.

github-actions[bot] avatar Dec 27 '24 00:12 github-actions[bot]

E2E results are ready!

github-actions[bot] avatar Jan 01 '25 12:01 github-actions[bot]