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.41k stars 578 forks source link

[BUG] Deleting To do with worklogs #2587

Open Anna-itk opened 1 month ago

Anna-itk commented 1 month ago

If you have problems with the installation please use our community forum

What set up are you using

Describe the bug If you delete a To do with worklogs you will have worklogs without any To dos

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Project To do's Kanban view'
  2. Click on '...' and delete To do
  3. Go to 'My timesheet' and find worklogs of deleted To do
  4. See error (now they are no longer connected to a To do

Expected behavior I would like a notifcation if I'm about to delete a To do with worklogs

Leantime Version v.3.1.4

marcelfolaron commented 1 month ago

Would you expect the worklogs to be deleted as well or should we prevent deleting the task?

Anna-itk commented 1 month ago

I would prefer prevent deleting the task (so I would have to manually delete the worklogs first to delete the task)