nextcloud / nextcloud/calendar

New users have a calendar without VTODO

Open
#4,554 10 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

0. to triage bug
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Steps to reproduce
  1. Create a new user
  2. Login as him/her
  3. Go to both calendar and tasks app
Expected behavior

There should be a "Personal" item in both of these apps.

Actual behaviour

There is well a "Personal" item in the calendar app but not in the task app.
This is reflected by the result of the SQL query below. In the resulting screenshot, you can see that the latest calendars do not have VTODO in their components.

SELECT id,displayname,components from oc_calendars whereid > 690;

image

My users are LDAP users, but the same behaviour seem to happen for local accounts.

I'm not sure this is a bug or the new default behaviour (or maybe I did change a setting without realizing it).

Calendar app version

3.5.0

CalDAV-clients used

Thunderbird Lightning and DAVx5

Browser

Firefox 105.0.1

Client operating system

Windows

Server operating system

Ubuntu 22.04

Web server

Apache

Database engine version

MariaDB

PHP engine version

PHP 7.4

Nextcloud version

24.0.5

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps
Enabled:
  - accessibility: 1.10.0
  - activity: 2.16.0
  - bruteforcesettings: 2.4.0
  - calendar: 3.5.0
  - circles: 24.0.1
  - cloud_federation_api: 1.7.0
  - comments: 1.14.0
  - contacts: 4.2.1
  - dav: 1.22.0
  - deck: 1.7.1
  - drawio: 1.0.3
  - federatedfilesharing: 1.14.0
  - federation: 1.14.0
  - files: 1.19.0
  - files_downloadactivity: 1.13.0
  - files_external: 1.16.1
  - files_markdown: 2.3.6
  - files_mindmap: 0.0.26
  - files_pdfviewer: 2.5.0
  - files_rightclick: 1.3.0
  - files_sharing: 1.16.2
  - files_trashbin: 1.14.0
  - files_versions: 1.17.0
  - files_videoplayer: 1.13.0
  - forms: 2.5.1
  - group_everyone: 0.1.10
  - impersonate: 1.11.0
  - logreader: 2.9.0
  - lookup_server_connector: 1.12.0
  - nextcloud_announcements: 1.13.0
  - notifications: 2.12.1
  - oauth2: 1.12.0
  - polls: 3.8.1
  - privacy: 1.8.0
  - provisioning_api: 1.14.0
  - recommendations: 1.3.0
  - richdocuments: 6.2.0
  - rocketchat_nextcloud: 0.9.6
  - serverinfo: 1.14.0
  - settings: 1.6.0
  - sharebymail: 1.14.0
  - sharelisting: 1.1.1
  - systemtags: 1.14.0
  - tasks: 0.14.4
  - text: 3.5.1
  - theming: 1.15.0
  - twofactor_backupcodes: 1.13.0
  - updatenotification: 1.14.0
  - user_ldap: 1.14.1
  - viewer: 1.8.0
  - workflowengine: 2.6.0
Nextcloud configuration

No response

Web server error log

No response

Log file

No response

Browser log

No response

Additional info

Maybe this belong into core?

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 file or test is named. Start by reproducing the new-user flow and comparing the calendar records from the reported SQL query, then trace how the Personal calendar is created for the calendar and tasks apps. Done means new users have a Personal item in both apps with VTODO included in the calendar components.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, mariadb, php
Domain
backend, databases
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.