l3pp4rd/DoctrineExtensions — Issue #270: Translatable extension crash when some entites suffer $oid reuse
Author: lemoinem
Created: 2012-02-21 21:55:07+00:00
State: open

Hello,

I noticed that the branch doctrine2.0.x crashes when there is an oid collision between an old garbage collected entity and a new entity.

This is probably because the additionalTranslations array in TranslationListener is not cleared when its entry are processed.

It does not seems that this array is reused anywhere else though.
The fix will be simple enough.

Please enjoy my soon-to-be pull request !

Best Regards and Keep on the Good Work !