Open breakone opened 5 months ago
We run into problems in our deployment process.
The method getDataports() in the AutomaticImportListener
getDataports()
AutomaticImportListener
private static function getDataports() { if(self::$dataports === null) { self::$dataports = Dataport::getInstance()->find([], 'name'); } return self::$dataports; }
uses the find(...) method of the PimcoreDbRepository
find(...)
PimcoreDbRepository
public function find(array $where = [], string $order = null, int $count = null, int $offset = 0, $groupBy = null): array { return $this->findInTable($this->getTableName(), $where, $order, $count, $offset, $groupBy); }
And the findInTable(...) has a recursive call:
findInTable(...)
So we run into a dead lock.
We run into problems in our deployment process.
The method
getDataports()
in theAutomaticImportListener
uses the
find(...)
method of thePimcoreDbRepository
And the
findInTable(...)
has a recursive call:So we run into a dead lock.