ccsync icon indicating copy to clipboard operation
ccsync copied to clipboard

Bug: Unable to edit completed or deleted tasks

Open its-me-abhishek opened this issue 11 months ago • 4 comments

Describe the bug Cannot edit any fields for a task that has already been marked as completed or deleted. From the latest circular dependencies PR, I noticed the way we're currently handling the edit task functionality might be the reason for this. Passing Task UUID instead of taskID might fix the problem as all deleted/completed tasks tend to have a 0 ID so it might be the cause of conflict.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'tasks panel'
  2. Click on 'any completed/deleted task'
  3. Try to edit it
  4. See error

Expected behavior We should be able to edit it as taskwarrior does allow the users to edit or modify their deleted/completed tasks so should the UI

Screenshots

Image

its-me-abhishek avatar Dec 26 '25 17:12 its-me-abhishek

Hey @its-me-abhishek Can you assign this to me would like to work on it

Neeraj-gagat avatar Dec 26 '25 17:12 Neeraj-gagat

sure @Neeraj-gagat, please also look into updating the relevant tests on frontend+backend, if possible.

its-me-abhishek avatar Dec 26 '25 17:12 its-me-abhishek

sure @Neeraj-gagat, please also look into updating the relevant tests on frontend+backend, if possible.

Sure 👍

Neeraj-gagat avatar Dec 26 '25 18:12 Neeraj-gagat

i am assigned and i am working on it will raise pr soon. its not unattended so plz dont spam pr,s.Thank you 🙂

Neeraj-gagat avatar Dec 26 '25 21:12 Neeraj-gagat