Le 08/06/2011 13:58, seven seven a écrit :
Thanks for your answer !
Actually I will have to raise this again as I have updated to beta4
and still the same issue. It is definitely because of one of the >
beta1 release and most likely because of the DoctrineCommon 3.0
annotations changes.
Maybe there is someone here how can give me a hand with this, this is
why I am posting some clues regarding this issue:
In my logs there are some lines like :
[2011-06-08 12:29:20] doctrine.INFO: SELECT e0_.content AS content0,
e0_.field AS field1 FROM ext_translations e0_ WHERE e0_.foreign_key =
? AND e0_.locale = ? AND e0_.object_class = ?
([5,"ro","Tock\\TockFlatPagesBundle\\Entity\\TemplateEngine"])
but there is no foreign_key with the id 5 in the
*ext_translations* table and this is one of the information I have
missing on my pages.
I must mention that the information it is present in the
TemplateEngine table on id 5 .
I have printed all my TemplateEngine values and it seems that only the
onces that are not in ext_translations do not appear on the page.
BTW I am using Gedmo-doctrine-extensions in my project. I have also
tested this using the 2.0.x branch of gedmo :
https://github.com/l3pp4rd/DoctrineExtensions
Anyone has a clue on this ?
In the meantime I will try to understand better how gedmo works.
If the translation is not available in the translation table, it is
logical that you don't get the value as the translation fallback is
disabled by default. You need to activate the translation fallback.
--
Christophe | Stof
--
If you want to report a vulnerability issue on symfony, please send it to
security at symfony-project.com
You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en