Hotfix for missing reverse dependency in case of non-implicit change tracking policies
This commit is contained in:
parent
9b77ba2c1a
commit
3c3b7364ba
@ -162,7 +162,8 @@ class CommitOrderCalculator
|
||||
break;
|
||||
|
||||
case self::IN_PROGRESS:
|
||||
if ($adjacentVertex->dependencyList[$vertex->hash]->weight < $edge->weight) {
|
||||
if (isset($adjacentVertex->dependencyList[$vertex->hash]) &&
|
||||
$adjacentVertex->dependencyList[$vertex->hash]->weight < $edge->weight) {
|
||||
$adjacentVertex->state = self::VISITED;
|
||||
|
||||
$this->sortedNodeList[] = $adjacentVertex->value;
|
||||
@ -180,4 +181,4 @@ class CommitOrderCalculator
|
||||
$this->sortedNodeList[] = $vertex->value;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user