We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Method getEntityChangeset introduced in dbfe95c exists only for ORM. For ODM, the method is getDocumentChangeset
getEntityChangeset
getDocumentChangeset
The text was updated successfully, but these errors were encountered:
Is this related to #1277 ?
Sorry, something went wrong.
Hi @garak Is there any updates on this?
A quick workaround:
Vich\UploaderBundle\EventListener\Doctrine\CleanListener.php
CleanListener::preUpdate(EventArgs $event) `
$changeSet = []; if($event instanceof \Doctrine\ODM\MongoDB\Event\PreUpdateEventArgs) { $changeSet = $event->getDocumentChangeSet(); } elseif ($event instanceof \Doctrine\ORM\Event\PreUpdateEventArgs) { $changeSet = $event->getEntityChangeSet(); }
`
@mcitdev unfortunately there's a bigger problem, see #1252 So the idea now is to revert the change made in 1.19 and go back to the same we had in 1.18
@garak ok, I see.
No branches or pull requests
Bug Report
Summary
Method
getEntityChangeset
introduced in dbfe95c exists only for ORM.For ODM, the method is
getDocumentChangeset
The text was updated successfully, but these errors were encountered: