Loosing repeating interval when task is done #1712

Closed
opened 2020-03-26 17:02:26 +00:00 by worldworm · 7 comments

I'am lossing all repeating intervals when I mark a task as done.

  • When I am in the namespace view where I see all Task and press the checkbox from a Task, the Task gets reopened with the correct dates, but it is missing the interval.
  • When I opened the task directly and press done -> the repeating interval is still set.

When I check the networktraffic the Post Request has a "repeatAfter: null".
In the Taskview (where it works) the repeatAfter is set correctly.
So i hope this is an issue for the frontend project.

Hope I explained it detail enough to understand

I'am lossing all repeating intervals when I mark a task as done. * When I am in the namespace view where I see all Task and press the checkbox from a Task, the Task gets reopened with the correct dates, but it is missing the interval. * When I opened the task directly and press done -> the repeating interval is still set. When I check the networktraffic the Post Request has a "repeatAfter: null". In the Taskview (where it works) the repeatAfter is set correctly. So i hope this is an issue for the frontend project. Hope I explained it detail enough to understand
Owner

I was able to verify this on https://try.vikunja.io/ and it seems to be only a display issue: no data is lost, the new dates are just not shown in the list view.

I'll send a fix.

I was able to verify this on https://try.vikunja.io/ and it seems to be only a display issue: no data is lost, the new dates are just not shown in the list view. I'll send a fix.
Owner

After trying it locally, it seems to do something different, I'll take a closer look.

After trying it locally, it seems to do something different, I'll take a closer look.
Author

Thats sound great.
But in my test the due Date was displayd correctly in list view.

  1. "Task Due 1 day ago" (repeating interval +2 days)
  2. Click done in listview
  3. "Task Due in 1 day" (but the repating interval is gone)
  4. -> So if you click it again it is closed (not "Due in 3 days")

I can repeat it at https://try.vikunja.io/

Thats sound great. But in my test the due Date was displayd correctly in list view. 1. "Task Due 1 day ago" (repeating interval +2 days) 2. Click done in listview 3. "Task Due in 1 day" (but the repating interval is gone) 4. -> So if you click it again it is closed (not "Due in 3 days") I can repeat it at https://try.vikunja.io/
Owner

I've pushed a fix in 701a46ecd4. Please check again in a few minutes when try is updated.

I've pushed a fix in https://kolaente.dev/vikunja/frontend/commit/701a46ecd4e5b6dfb7dbd308b46a876b663abf61. Please check again in a few minutes when try is updated.
Owner

And thanks for reporting this so quick, the bug is coming from a commit I made only three days ago!

And thanks for reporting this so quick, the bug is coming from a commit I made only three days ago!
Author

It works. Thanks a lot for this quick help!

I love Vikunja. It's the selfhosted todo app I looked for around 5 years. Using it now with multiple instances for work and private use on a daily base.

I would love to assist. But Iam new vue and go. When I finish my flask project I know what I'll learn next :)

It works. Thanks a lot for this quick help! I love Vikunja. It's the selfhosted todo app I looked for around 5 years. Using it now with multiple instances for work and private use on a daily base. I would love to assist. But Iam new vue and go. When I finish my flask project I know what I'll learn next :)
Owner

Thats really great to hear, thanks a lot!

Don't hesitate to ask if you have any questions, for quick answers the matrix channel is also a good place :)

Thats really great to hear, thanks a lot! Don't hesitate to ask if you have any questions, for quick answers [the matrix channel](https://riot.im/app/#/room/!dCRiCiLaCCFVNlDnYs:matrix.org?via=matrix.org) is also a good place :)
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: vikunja/vikunja#1712
No description provided.