GTG

Comment 3 for bug 1258451

Revision history for this message
Shikha Chowdhary (shikhachowdhary28) wrote : Re: [Bug 1258451] Re: Urgency wrong for task with closed sub-tasks

Ok.And I am really very sorry.I should have asked you.I will keep this in
mind :)

On Fri, Feb 14, 2014 at 1:08 PM, Parin Porecha <email address hidden>wrote:

> ** Branch linked: lp:~shikhachowdhary28/gtg/Bug1258451
>
> ** Changed in: gtg
> Status: Fix Committed => In Progress
>
> ** Changed in: gtg
> Milestone: None => 0.3.2
>
> ** Changed in: gtg
> Importance: Undecided => Low
>
> --
> You received this bug notification because you are a bug assignee.
> https://bugs.launchpad.net/bugs/1258451
>
> Title:
> Urgency wrong for task with closed sub-tasks
>
> Status in Getting Things GNOME!:
> In Progress
>
> Bug description:
> The calculated "urgent" due date for a task, i.e. the quantity used
> for sorting the "Due" column, is wrong for a task with closed sub-
> tasks.
>
> Take these tasks:
>
> * Task1 due:2013-12-17
> \
> '--Subtask1 due:2013-12-05 closed:2013-12-01
>
> * Task2 due:2013-12-07
>
> When the task browser shows these tasks, sorted as "Due ^", Task1 is
> shown at the top (with due description "in 11 days") before Task2
> (with due description "tomorrow").
>
> This is because get_urgent_date() for Task1 is returning 2013-12-05,
> even though that task has already been closed.
>
> I suggest ignoring closed sub-tasks for calculating the urgent date
> for a task and its sub-tasks.
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/gtg/+bug/1258451/+subscriptions
>