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

Infinite loop caused by invalid recurrence #509

Open
elirenato opened this issue May 11, 2022 · 1 comment
Open

Infinite loop caused by invalid recurrence #509

elirenato opened this issue May 11, 2022 · 1 comment

Comments

@elirenato
Copy link

Reproducible on latest main.

To reprocude, we can use the recur_iterator_test.js and add the following code:

testRRULE('FREQ=MONTHLY;BYDAY=1TH;BYSETPOS=2', {
        dtStart: '2015-01-11T08:00:00',
        dates: [
          '2015-02-05T08:00:00'
        ]
      });

after that, run

grunt test-node:single --test=test/recur_iterator_test.js

PS: I believe the problem in inside the next_month function but I'm not sure how to fix it.

@CardiJey
Copy link

CardiJey commented Jun 6, 2023

Hi, I experienced that too and it acutally crashed my Nextcloud calender and some other calender applications that probably use ical.js

This should definetly be fixed and it's sad to see this unresponded after a whole year.

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