Can't create new task list after deleting all lists

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

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

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.

Description

bug
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).

Dominant language
JavaScript
Stars
710
Forks
125
Avg merge
19h 37m
Merged PRs (30d)
12

Getting set up

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.

More from nextcloud/tasks

All issues in nextcloud/tasks

Similar issues

More JavaScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.