Leantime / leantime

Leantime is a goals focused project management system for non-project managers. Building with ADHD, Autism, and dyslexia in mind.
https://leantime.io
GNU Affero General Public License v3.0
4.55k stars 590 forks source link

[BUG] Error when deleting the default Wiki #2615

Closed MnAppsNet closed 1 month ago

MnAppsNet commented 2 months ago

What set up are you using

Describe the bug When I delete the default Wiki page under Project -> DATA ROOM -> Docs, I get into a situation that I can no longer use the project Docs and I get the following error: image

To Reproduce Steps to reproduce the behavior:

  1. Go to any of your projects
  2. Click on Docs under DATA ROOM
  3. Delete all yout wikis
  4. See error

Expected behavior When all wikis are deleted, the user should still be able to create a new wiki from the begenning or it should be impossible to delete the last wiki

Leantime Version v3.1.4

Server Running on a docker container on an LXC proxmox container

PHP / MySQL Version MySQL version 8.0 and the latest leantime docker image (leantime/leantime:latest)

MnAppsNet commented 2 months ago

Workaround After checking the zp_canvas table in the database, I noticed that the default wiki was still there: image After deleting it from the database, the issue is resolved and I can create new wikis again...

marcelfolaron commented 1 month ago

Fixed in 3.2.1