Bug #395

making existing tasks recurring

Added by tcharles yun 139 days ago. Updated 68 days ago.

Status:Closed Start:03/11/2010
Priority:High Due date:
To:Paul Beckingham % Done:

100%

Category:core Spent time: 2.00 hours
Target version:1.9.1 - Kuwagata Estimated time:2.00 hours

Description

I just ran into what I thought was a simple gotcha with bad feedback. I tried to make an existing task w/o a due date recurring. Task gives the wrong feedback (it says that the task is changed), but it does not make it recurring. This is, I think, a bug.

However, in trying to get some text to paste in here, I think I have bumped into a "I must think task works in a way that it does not" because I can not figure out how to get an existing task to become recurring. I have tried a few things and have failed. I made a very quick search through the wiki but did not find too much.

It is late, so I am going to post and then try to figure out of this is user error.

- tcy

History

Updated by Federico Hernandez 139 days ago

  • Category set to core
  • To set to Paul Beckingham
  • Priority changed from Low to High
  • Target version set to 1.9.1 - Kuwagata

Hi there!

I can confirm that there is something fishy.

I just did the following

[ultrafredde@watertown .task]$ task add ONE
Created task 1
[ultrafredde@watertown .task]$ task add TWO due:100314 recur:2w
Created task 2
[ultrafredde@watertown .task]$ task long

ID Project Pri Added  Started Due    Recur Countdown Age     Tags Description
 3             100312         100314    2w   - 1 day  3 secs      TWO
 1             100312                                37 secs      ONE

2 tasks
[ultrafredde@watertown .task]$ cat pending.data
[description:"ONE" entry:"1268422530" status:"pending" uuid:"727bf1cd-202f-e8d2-51ab-89e80330e415"]
[description:"TWO" due:"1268542800" entry:"1268422564" mask:"-" recur:"2w" status:"recurring" uuid:"5adfee41-7eec-efdf-64ac-3bc261630bc5"]
[description:"TWO" due:"1268542800" entry:"1268422564" imask:"0" parent:"5adfee41-7eec-efdf-64ac-3bc261630bc5" recur:"2w" status:"pending" uuid:"fcf7353c-bf72-2faf-ba5e-38728d410040"]
[ultrafredde@watertown .task]$ task 1 due:100314 recur:1w
Modified 1 task
[ultrafredde@watertown .task]$ task long

ID Project Pri Added  Started Due    Recur Countdown Age     Tags Description
 1             100312         100314    1w   - 1 day   1 min      ONE
 3             100312         100314    2w   - 1 day 55 secs      TWO

2 tasks
[ultrafredde@watertown .task]$ cat pending.data
[description:"ONE" due:"1268542800" entry:"1268422530" recur:"1w" status:"pending" uuid:"727bf1cd-202f-e8d2-51ab-89e80330e415"]
[description:"TWO" due:"1268542800" entry:"1268422564" mask:"-" recur:"2w" status:"recurring" uuid:"5adfee41-7eec-efdf-64ac-3bc261630bc5"]
[description:"TWO" due:"1268542800" entry:"1268422564" imask:"0" parent:"5adfee41-7eec-efdf-64ac-3bc261630bc5" recur:"2w" status:"pending" uuid:"fcf7353c-bf72-2faf-ba5e-38728d410040"]

As you can see task TWO gets created with the status "recurring" when entering directly due date and recurring frequency. Task ONE is created with a pending status and remains there though it has been changed to become a recurring task. This seems to be wrong.

THX for the report. We will look into this.

Updated by Paul Beckingham 68 days ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
  • Estimated time set to 2.00

Code failed to change status from pending to recurring when a recur: attribute was created.

Also available in: Atom PDF