l3pp4rd/DoctrineExtensions — Issue #283: Flushing only new transactions don't do anything
Author: lemoinem
Created: 2012-03-09 22:14:24+00:00
State: open

Hello,

Using branch doctrine 2.0.x, I am trying to update the set of translations attached to an existing entity.

When I flush the Entity Manager, there isn't any change to the Database.

Code example:

```php
$entity = $em->find('\\MyNS\\MyEntity');
$translator->translate($entity, 'translatable_field', 'en', 'My new entity translation');
$translator->translate($entity, 'translatable_field', 'fr', 'La nouvelle traduction de mon entité');
$em->flush();
```