Skip to content

Fixes recurring hard crash in two places to ensure rrule gets valid p…#5350

Merged
emrysal merged 2 commits intomainfrom
hotfix/fix-hard-crash-on-recurring
Nov 3, 2022
Merged

Fixes recurring hard crash in two places to ensure rrule gets valid p…#5350
emrysal merged 2 commits intomainfrom
hotfix/fix-hard-crash-on-recurring

Conversation

@emrysal
Copy link
Copy Markdown
Contributor

@emrysal emrysal commented Nov 3, 2022

RecurringInfo could be null in some situations when the event type hasn't always been a recurring event, this caused undefined values passed to rrule - triggering an infinite loop in the library.

@emrysal emrysal requested a review from leog November 3, 2022 13:20
@vercel
Copy link
Copy Markdown

vercel Bot commented Nov 3, 2022

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

Name Status Preview Updated
cal ❌ Failed (Inspect) Nov 3, 2022 at 6:42PM (UTC)

Copy link
Copy Markdown
Contributor

@alannnc alannnc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code looks good, couldn't replicate the error tho

@emrysal emrysal merged commit b0f2ce4 into main Nov 3, 2022
@emrysal emrysal deleted the hotfix/fix-hard-crash-on-recurring branch November 3, 2022 19:14
haffla pushed a commit to tourlane/cal.com that referenced this pull request Nov 22, 2022
…arameters (calcom#5350)

Co-authored-by: alannnc <alannnc@gmail.com>
@PeerRich PeerRich added the core area: core, team members only label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants