Closed lmeyer closed 4 years ago
Hi @lmeyer,
yes, according to code in APY\DataGridBundle\Grid\Row
, method Row::getEntity()
can return null
or object
.
<?php
namespace APY\DataGridBundle\Grid;
use Doctrine\ORM\EntityRepository;
class Row
{
//...
/**
* @return null|object
*/
public function getEntity()
{
$primaryKeyValue = current($this->getPrimaryKeyValue());
return $this->repository->find($primaryKeyValue);
}
//...
}
Hello, I'm closing this issue since the behaviour is normal and not a bug
Hello,
Sentry reported an error that seems weird.
Involved code is
So getEntity returned null this time.
The website is heavily used, but the problem appeared only one time so it's not a big deal. But I prefer to ask.
Regards,