-
-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Modification of task description by example on-add hook does not take effect #3416
Labels
type:bug
Something isn't working
Comments
maertsen
added a commit
to maertsen/taskwarrior
that referenced
this issue
Apr 29, 2024
I believe the included on-add.the hook could be used as a (failing) test-case, but I'm unsure how to hook it up to the testing framework, so I have refrained from opening a PR. |
maertsen
referenced
this issue
May 6, 2024
This replaces the TF2 task files with a TaskChampion replica.
maertsen
added a commit
to maertsen/taskwarrior
that referenced
this issue
May 6, 2024
maertsen
added a commit
to maertsen/taskwarrior
that referenced
this issue
May 10, 2024
maertsen
added a commit
to maertsen/taskwarrior
that referenced
this issue
May 10, 2024
djmitche
pushed a commit
that referenced
this issue
May 15, 2024
Fixed in fb16dbf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For an on-add hook I've developed myself, I don't see modifications to the description reflected in the db. I can reproduce this behaviour with the example on-add from https://taskwarrior.org/docs/hooks_guide/, which is the focus of this bug report. I modified the print statement to make it work with python 3.
The debug command from the example (with an additional
+test
to make deletion easier):I expected the hook to modify the description and for this modification to be reflected in subsequent output of task.
The hook modifies the description, this is not reflected in the database.
task diag
command.For reference, the modified hook:
The text was updated successfully, but these errors were encountered: