nextcloud / nextcloud/calendar
Busy times shows currently edited event as busy blocked
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
- Schedule a meeting
- Save the event
- Edit the event
- View busy times
Expected behaviour
Attendees are not shown as blocked during the time of the current event, unless there is something else that blocks them.
Actual behaviour
The current event shows all attendees as blocked.
Calendar app
Calendar app version: 2.2 and possibly older
https://github.com/nextcloud/server/blob/84584959b09ce3dbde04324154934e6c8eb1d1bd/apps/dav/lib/CalDAV/Schedule/Plugin.php#L414 it looks like we might be able to send an event UID that is then excluded from the query.
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 in apps/dav/lib/CalDAV/Schedule/Plugin.php around line 414 and inspect how the busy-times query handles the current event. Reproduce the edit-and-view flow, then verify that the current event UID is excluded while other events can still block attendees.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 45/100