- 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:
Uli Martens 2012-01-23 06:24:51 -05:00 committed by Paul Beckingham
parent 6145f2d4a8
commit 529161b711
2 changed files with 2 additions and 2 deletions

View file

@ -64,6 +64,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
Barton Meeks
Martin Klepsch
Ralph Bean
Uli Martens
Thanks to the following, who submitted detailed bug reports and excellent
suggestions:
@ -103,7 +104,6 @@ suggestions:
Pete Lewis
Stefan Hacker
Alan Barton
Uli Martens
Jonathan Hankins
Andreas Kalex
Adam Wolk

View file

@ -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");