nextcloud / calendar

📆 Calendar app for Nextcloud
https://apps.nextcloud.com/apps/calendar
GNU Affero General Public License v3.0
986 stars 239 forks source link

Personal calendar cannot be removed #6015

Open xaltube opened 6 months ago

xaltube commented 6 months ago

Steps to reproduce

  1. Go to Calendar App
  2. Delete the "Personal" calendar
  3. Refresh the view
  4. "Personal" calendar appears again

Expected behavior

Once a Calendar is deleted for a user it should not be automatically created again.

Actual behaviour

When the default "Personal" calendar is deleted, it is automatically re-created.

As I cannot define a default calendar other than the personal one, creating a new appointment goes by default to this one instead of the shared one that I want my users to use as default.

Calendar app version

4.7.4

CalDAV-clients used

No response

Browser

Firefox, Chrome, Edge. All latest version

Client operating system

Windows 10

Server operating system

No response

Web server

None

Database engine version

MySQL

PHP engine version

PHP 8.2

Nextcloud version

28.0.5

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

freelock commented 6 months ago

I don't mind having a Personal calendar, but I would like to be able to set a default calendar for new events.

If I get an invitation outside my NextCloud instance, I can pick which calendar to use. But if it's from another NextCloud user, it gets dropped on my personal calendar, and I can no longer move it to my work calendar... this did work before I upgraded the Calendar app to 4.7.4...

xaltube commented 6 months ago

It is indeed good idea to have a personal calendar, but it should be on the site Admin side to decide if this is created by default for any new user, and also if it is mandatory and therefore should be automatically created back if the user removes it, or even t prevent it from being deleted.

DjoeC commented 5 months ago

My suggestions on this issue which is extremely annoying for shared team and family calendars:

xaltube commented 2 months ago

Is there any feedback on this matter?

This is blocking me on updating the Calendar app version, since an update will break it and make the "Personal Calendar" not removable.

aikitori commented 2 weeks ago

With Nextcloud 30.0.1 and Calendar 5.0.1 it ist still impossible to delete the personal calendar. I also tryed occ dav:delete-calendar without success

tcitworld commented 2 weeks ago

As we now have https://github.com/nextcloud/calendar/pull/5790 I believe there's no reason to always recreate the personal calendar when it's deleted, as long as we have an other calendar set as default. We need to identify where it's being recreated to avoid that in this configuration.