Timewarrior
  1. Timewarrior
  2. TI-51

in the taskwarrior hook, deleting a task doesn't stop the watch

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.0.0
    • Fix Version/s: 1.1.0
    • Component/s: None
    • Labels:
      None

      Description

      As the title says:

      % task start 19
      Starting task 0fa1189d 'xxxxxxxxxxxxxxxx'.
      Started 1 task.
      Tracking yyyyyyyyy.zzzzzzzzzzz "xxxxxxxxxxxxxxx"
      Started 2016-11-01T14:42:03
      Current 03
      Total 0:00:00
      You have more urgent tasks.
      Project 'yyyyyyyyyy.zzzzzzzzzz' is 0% complete (1 task remaining).
      % task delete 19
      Delete task 19 'xxxxxxxxxxxxxxxx'? (yes/no) y
      Deleting task 0fa1189d 'xxxxxxxxxxxxxxx'.
      Deleted 1 task.
      The project 'yyyyyyyyy.zzzzzzzzz' has changed. Project 'yyyyyyyy.zzzzzzzzzzzz' is 0% complete (0 of 0 tasks remaining).
      % timew
      Tracking yyyyyyyyyy.zzzzzzzzz "xxxxxxxxxxxxxxxx"
      Started 2016-11-01T14:42:03
      Current 15:07:37
      Total 0:25:34

      I expect the watch to be stopped (and deleted?) when deleting a task.

        Activity

        Hide
        Paul Beckingham added a comment - - edited

        Thank you! I have broadened this problem to be:

        Any task that is active, is modified, and has a non-pending status will stop the clock.

        Show
        Paul Beckingham added a comment - - edited Thank you! I have broadened this problem to be: Any task that is active, is modified, and has a non-pending status will stop the clock.

          People

          • Assignee:
            Paul Beckingham
            Reporter:
            Mattia Rizzolo
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: