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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user