Jira issue originally created by user gena01:
$entity = $em->find("Bug", 1);
Throws an exception. Works fine with $em->flush() (No $entity provided).
Would be nice to just flush the deleted entity separate from other entities. This technically works for other operations except remove(). The exception claims that the entity is not mapped. It technically can't be mapped since it's set to be deleted.
Comment created by @beberlei:
Fixed in 2.3 branch, for 2.3.4
Issue was closed with resolution "Fixed"