timetracker icon indicating copy to clipboard operation
timetracker copied to clipboard

Deleted project should not delete time entries

Open rhiaro opened this issue 5 years ago • 4 comments

I deleted a project, and it deleted all of the time entries logged against that project.

Expected behaviour: The logged time entries go to having no project associated with them.

I can see the use case for wanting a project to delete all time entries though. I'd be happy with a warning that it will do so, so I can go back and change the project on all of those time entries before deleting.

rhiaro avatar Jan 22 '21 20:01 rhiaro

Just a reminder that you can also archive projects.

puthre avatar Jan 26 '21 11:01 puthre

Thanks. Would that also archive the time entries? Problem I had was I wanted to change the project some entries were logged against, but deleted the project before changing them on the entries.

rhiaro avatar Jan 26 '21 12:01 rhiaro

No, it only hides the project from the lists.

puthre avatar Jan 26 '21 14:01 puthre

I second this, I am testing Time Tracker now and I also expected it to just remove the project association, not delete the entries all together.

A first part of the solution here could be a warning message to alert the user who wants to delete a project that this will result in all entries also being deleted, and maybe ask if the user rather intends to archive the project.

Eothred avatar Aug 26 '21 06:08 Eothred