You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hey, not really a bug in your hook script (THANK YOU FOR THIS, BTW!), but I noticed some unexpected behavior when editing a task.
If you do task 3 edit and change the relativeRecurDue or Wait values (Say, from P30D to P45D), taskwarrior doesn't seem to handle this as expected (I'm using version 2.5.1). Upon completing the task, the next recurrence will be due immediately instead of after a delay period.
Instead of using the edit function, you have to modify these values from the command line: task 3 modify relativeRecurDue:45day etc.
(I actually renamed them to the shorter rrdue and rrwait... which I think is how they were in an older version of the script; not sure, but it's faster to type ;-) )
If anyone is googling this issue, here's how to edit the recur periods without breaking it.
The text was updated successfully, but these errors were encountered:
I'll have a try at reproducing this as soon as I got some spare time. Not sure yet if this feels more like an upstream issue to me.
Indeed -- I rarely use edit and modify all the time. I'll check whether edit has a different hook workflow that needs some adjustments. Glad you found a workaround anyway.
Regarding rrdue -- I'm not sure the code was ever like this, at least git history shows the initial release here was the long version already. But well possible I distributed a first copy on the mailing list or somewhere else. :)
Hey, not really a bug in your hook script (THANK YOU FOR THIS, BTW!), but I noticed some unexpected behavior when editing a task.
If you do
task 3 edit
and change the relativeRecurDue or Wait values (Say, from P30D to P45D), taskwarrior doesn't seem to handle this as expected (I'm using version 2.5.1). Upon completing the task, the next recurrence will be due immediately instead of after a delay period.Instead of using the edit function, you have to modify these values from the command line:
task 3 modify relativeRecurDue:45day
etc.(I actually renamed them to the shorter rrdue and rrwait... which I think is how they were in an older version of the script; not sure, but it's faster to type ;-) )
If anyone is googling this issue, here's how to edit the recur periods without breaking it.
The text was updated successfully, but these errors were encountered: