l3pp4rd/DoctrineExtensions — Issue #169: Translatable property with the same value gives an empty result
Author: stewe
Created: 2011-10-11 13:58:52+00:00
State: open

Hi guys,
I have a problem with the translatable extension and here is the code to test it: https://gist.github.com/1278099
This test fails at the line 37 with this error:
```
1) Hart\DssCoreBundle\Tests\Repository\PoiRepositoryTest::testLocaleNameNotNull
Failed asserting that two strings are equal.
--- Expected
+++ Actual
@@ @@
-Valley
+
```
Which means that $valleyToTest->getName() return an empty string. It seems that same value in different languages are not stored in the db.
I'm using Symfony 2.0.4 and DoctrineExtensionsBundle 1.0.0