deleting certain UUIDs deletes all tasks
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
task (Ubuntu) |
Fix Released
|
High
|
Bryce Harrington | ||
Precise |
Fix Released
|
High
|
Unassigned |
Bug Description
[Impact]
When referencing tasks by their uuid (instead of id), certain uuids get interpreted as durations rather than uuids, which can result in mass-deletion of tasks.
[Development Fix]
Cherrypick of upstream patch, uploaded to quantal.
[Stable Fix]
Since we ship the same task version in quantal and precise, use the same patch.
[Test Case]
1. Create tasks until one gets generated which has a 'd' before the first dash
2. Attempt to delete this task using its uuid
(Similarly for modify, done, etc.)
Broken Behavior: Prompts to delete ALL tasks
Fixed Behavior: Just deletes the specified task
[Regression Potential]
None. Patch is upstream, and confirmed to fix the issue without causing other problems.
The scope of risk is narrow as well; most task users reference tasks by ids, not uuids; uuids are more used with scripts and such.
[Original Report]
Executed this:
task 8e27016d-
Task 1 'blah blah blah' is neither pending nor waiting.
- End will be set to '4/27/2012'.
- Status will be changed from 'pending' to 'completed'.
Complete task 2 'foo foo foo'? (yes/no/all/quit) ^C
description: | updated |
Changed in task (Ubuntu Precise): | |
status: | New → Fix Committed |
importance: | Undecided → High |
Fixed in upstream commit f4bfa1b2fddd79f f4bf57665593d27 bf65299072