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
My hook scripts export the data to my calendar but hook scripts are not run when using task undo. I would propose to run a on-undo or on-modify hook script when executing task undo. Input would be the old an new (i.e. reverted) JSON and output nothing (maybe have an exit > 0 discard the undo?)
The text was updated successfully, but these errors were encountered:
jspricke
added a commit
to jspricke/taskwarrior
that referenced
this issue
Sep 13, 2019
The Undo command broke in 48dff11 when the `onModify` hook got added to
its execution in order to fixGothenburgBitFactory#2213. The reason for it begin broke is
that a Task object is created in an unsafe manner because the `prior`
task may be empty.
Catching this case fixes the bug.
The Undo command broke in 48dff11 when the `onModify` hook got added to
its execution in order to fix#2213. The reason for it begin broke is
that a Task object is created in an unsafe manner because the `prior`
task may be empty.
Catching this case fixes the bug.
My hook scripts export the data to my calendar but hook scripts are not run when using task undo. I would propose to run a
on-undo
oron-modify
hook script when executing task undo. Input would be the old an new (i.e. reverted) JSON and output nothing (maybe have an exit > 0 discard the undo?)The text was updated successfully, but these errors were encountered: