nextcloud / nextcloud/calendar
Events with repetition can be broken. "This recurrence rule does not generate any valid instances" exception.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.2k
- Forks
- 332
- Avg merge
- 16h 13m
- Merged PRs (30d)
- 137
Description
Steps to reproduce
- Create event with repetition same day every week, e.g. 5 -> 12 -> 19 -> etc
- Delete first occurrence (5) with "Delete this occurrence"
- Move second occurrence (12), which now became first, to e.g. 13 with editing "start from" to 13 and "Update this and all future"
Expected behavior
No user actions in native WebUI should result in an exception.
Actual behaviour
WebUI hangs and in log exception "This recurrence rule does not generate any valid instances". You can't edit title or start/to dates of this second event, only delete it or move with drag and drop. Third event (19) looks not affected of this bug.
And bug #2850 still alive, if you move event like I described in #4225
Calendar app version
4.6.0
CalDAV-clients used
No response
Browser
No response
Client operating system
No response
Server operating system
Centos 8.5
Web server
Apache
Database engine version
SQlite
PHP engine version
PHP 8.1
Nextcloud version
27.1.4
Updated from an older installed version or fresh install
Updated from an older version
List of activated apps
No response
Nextcloud configuration
No response
Web server error log
No response
Log file
No response
Browser log
No response
Additional info
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the sequence in the native WebUI: create a weekly event, delete the first occurrence, then move the new first occurrence with “Update this and all future.” Trace the recurrence-rule handling that produces “This recurrence rule does not generate any valid instances.” Done means the update completes without hanging or throwing, and the occurrence remains editable as described.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, php, sqlite
- Domain
- full-stack
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100