You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello @RubenHarms,
we have the same problem as stated and the fix from @bradacjan would work for us, except the line 153 in file SoftDeleteListener.php
Can you give some insight on when the fix will be published?
After parent is soft deleted child cascade deleting rather than set null.
I have parent class:
`
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
/*
*/
class Payment
{
...
}
`
and the child with SET NULL method by Evence:
`
namespace AppBundle\Entity;
use Doctrine\ORM\Mapping as ORM;
use Gedmo\Mapping\Annotation as Gedmo;
use Evence\Bundle\SoftDeleteableExtensionBundle\Mapping\Annotation as Evence;
/*
@Orm\Entity(repositoryClass="AppBundle\Entity\TransactionRepository")
*/
class Transaction
{
...
/**
*/
private $payment = null;
...
}
`
The text was updated successfully, but these errors were encountered: