Answer the question
In order to leave comments, you need to log in
Sonata Admin + em->clear()?
After editing an object in Sonata Admin, I need to perform actions to find duplicates, I call the repository method from postUpdate, since there are problematic companies, they have a lot of duplicates, I have to call
$this->_em->flush();
$this->_em->clear();
Some mandatory parameters are missing ("childId") to generate a URL for route "admin_***_***_edit".
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question