mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-20 22:33:08 +02:00
Bug
- When handleRecurrence was cloning the parent task, it failed to set a new ID, so all the child tasks were given the ID of the parent. - Cleaned up bug.annual.t.
This commit is contained in:
parent
63dfb17bbc
commit
f19a09b390
3 changed files with 10 additions and 18 deletions
|
@ -94,6 +94,7 @@ void handleRecurrence ()
|
|||
|
||||
Task rec (*t); // Clone the parent.
|
||||
rec.setStatus (Task::pending); // Change the status.
|
||||
rec.id = context.tdb2.next_id (); // New ID.
|
||||
rec.set ("uuid", uuid ()); // New UUID.
|
||||
rec.set ("parent", t->get ("uuid")); // Remember mom.
|
||||
rec.setEntry (); // New entry date.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue