nextcloud / nextcloud/tasks

Can't create new task list after deleting all lists

Open
#3,228 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
Dominant language
JavaScript
Stars
706
Forks
117
Avg merge
8h 50m
Merged PRs (30d)
18

Description

Steps to reproduce
  1. Delete all task lists in the task app
  2. Try to create a new list
Expected behavior

One should be able to create new lists when all lists were removed.

Actual behaviour

An error is shown when trying to create a new task list (or calender), saying that list creation failed.

Tasks app version

0.18.1

CalDAV-clients used

--

Browser

Firefox 153

Client operating system

macOS

Server operating system

Ubuntu Server LTS

Web server

Apache

Database engine version

MySQL

PHP engine version

PHP 8.2

Nextcloud version

34.0.1

Updated from an older installed version or fresh install

Updated from an older version

List of activated apps
--
Nextcloud configuration
--
Web server error log
--
Log file
--
Browser log
--
Additional info

It seems to be possible to recover from this state by restoring a deleted tasks list (if it still exists in the trash).

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

Reproduce the failure by deleting every task list, then attempting to create a task list or calendar. Trace the task-list creation flow from the app entry point and compare it with the recovery path of restoring a deleted list. Done means new lists can be created successfully when no lists remain.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, php
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.