mirror of
https://github.com/GothenburgBitFactory/taskwarrior.git
synced 2025-08-28 13:37:20 +02:00
Bug #905
- The problem was that the routine dependencyIsCircular() changed its behaviour
in git revision 726fc33fe4
, and the new version
only checked tasks by id - but all completed/deleted tasks have the id0, which
led to the problem. The fix is extremelly simple, just get the dependencies
by uuid instead of by id.
Signed-off-by: Paul Beckingham <paul@beckingham.net>
This commit is contained in:
parent
6145f2d4a8
commit
529161b711
2 changed files with 2 additions and 2 deletions
|
@ -117,7 +117,7 @@ void dependencyGetBlocking (const Task& task, std::vector <Task>& blocking)
|
|||
bool dependencyIsCircular (const Task& task)
|
||||
{
|
||||
std::stack <Task> s;
|
||||
std::vector <int> deps_current;
|
||||
std::vector <std::string> deps_current;
|
||||
|
||||
std::string task_uuid = task.get ("uuid");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue