** Description changed:

+ [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-5695-4d4c-8bc0-99895f73a8e3 done
  
  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
  
  See http://taskwarrior.org/issues/995

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/992852

Title:
  deleting certain UUIDs deletes all tasks

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/task/+bug/992852/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to