nextcloud / nextcloud/calendar

Busy times shows currently edited event as busy blocked

Open
#3,139 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug Feature: Scheduling
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. Schedule a meeting
  2. Save the event
  3. Edit the event
  4. 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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.