task are not saved if only the title is created
Bug #491868 reported by
Lionel Dricot
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
GTG |
Fix Released
|
Critical
|
Unassigned |
Bug Description
1) New task
2) Change the title
3) close the task within 7 seconds
-> the task is deleted just as the title was not modified.
Changed in gtg: | |
assignee: | nobody → Lionel Dricot (ploum) |
importance: | Undecided → Critical |
milestone: | none → 0.2 |
status: | New → Confirmed |
Changed in gtg: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in rev. 421
This is funny because fixing this bug actually reduced the code and make it
more elegant.
When you create a new task in GTG, this task is deleted if you close it
without any change.
To do that, we check that the content of the task is not empty. But we were
forgetting the title, hence the bug ! We were not able to "track changes"
because a new task has change during its creatin (a new task title is
inserted)
Now, we do it simply that way : we don't do anything before the window of the
editor is fully loaded then, we save if anything change. A lot better, isn't
it?