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:
committed by
Paul Beckingham
parent
6145f2d4a8
commit
529161b711
2
AUTHORS
2
AUTHORS
@@ -64,6 +64,7 @@ The following submitted code, packages or analysis, and deserve special thanks:
|
|||||||
Barton Meeks
|
Barton Meeks
|
||||||
Martin Klepsch
|
Martin Klepsch
|
||||||
Ralph Bean
|
Ralph Bean
|
||||||
|
Uli Martens
|
||||||
|
|
||||||
Thanks to the following, who submitted detailed bug reports and excellent
|
Thanks to the following, who submitted detailed bug reports and excellent
|
||||||
suggestions:
|
suggestions:
|
||||||
@@ -103,7 +104,6 @@ suggestions:
|
|||||||
Pete Lewis
|
Pete Lewis
|
||||||
Stefan Hacker
|
Stefan Hacker
|
||||||
Alan Barton
|
Alan Barton
|
||||||
Uli Martens
|
|
||||||
Jonathan Hankins
|
Jonathan Hankins
|
||||||
Andreas Kalex
|
Andreas Kalex
|
||||||
Adam Wolk
|
Adam Wolk
|
||||||
|
|||||||
@@ -117,7 +117,7 @@ void dependencyGetBlocking (const Task& task, std::vector <Task>& blocking)
|
|||||||
bool dependencyIsCircular (const Task& task)
|
bool dependencyIsCircular (const Task& task)
|
||||||
{
|
{
|
||||||
std::stack <Task> s;
|
std::stack <Task> s;
|
||||||
std::vector <int> deps_current;
|
std::vector <std::string> deps_current;
|
||||||
|
|
||||||
std::string task_uuid = task.get ("uuid");
|
std::string task_uuid = task.get ("uuid");
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user