Fix device_groups in alert/group builder (#10643)

This commit is contained in:
Tony Murray
2019-10-02 13:54:54 +00:00
committed by GitHub
parent 74724a4618
commit ef4e6de867
3 changed files with 12 additions and 8 deletions

View File

@@ -430,7 +430,8 @@ class QueryBuilderParser implements \JsonSerializable
}
if (!$this->schema->columnExists($child, $child_key)) {
echo"FIXME: Could not make glue from $child to $parent\n";
$child_key = $this->schema->getPrimaryKey($child);
\Log::warning("QueryBuilderParser: Warning, guessing glue from $child.$child_key to $parent.$parent_key");
}
}