nextcloud / nextcloud/server

FreeBusy shows appointments of deleted calendars

Open
#32,989 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop 26-feedback bug feature: caldav good first issue
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Steps to reproduce
  1. Create a calendar with appointments.
  2. Delete this calendar.
  3. Create a new appointment from another user account with the participant who deleted the calendar and display the free-busy times of him.
  4. The appointments of the deleted calendar will still be displayed in the free-busy view.
Expected behavior

When I delete a calendar (= move it to the trash bin) I would expect, that the free-busy view does not show the deleted appointments anymore.

Actual behaviour

The free-busy times are displayed as the deleted calendar still exists. As soon as I delete the calendar from trash bin, the free-busy views shows the correct times. Sorry, I don't know if it is a client oder server issue (or maybe both).

Calendar app version

3.4.0

CalDAV-clients used

Webclient only

Browser

FF 101.0.1

Client operating system

Win 10

Server operating system

Debian

Web server

Apache

Database engine version

No response

PHP engine version

PHP 7.4

Nextcloud version

24.0.2

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

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

No source files or tests are named. Start by reproducing the deleted-calendar free-busy scenario described in the issue and trace the server-side free-busy entry point. Done means appointments from a calendar moved to the trash no longer appear, while permanently deleted calendars retain the current correct behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.