Hello,
I have something weird on my current project, when I runs functional test I
get this error :
- Doctrine_Table_Exception: Unknown relation alias Translation
However the relation works fine on the web page.
The error come from this line $query->leftJoin('i.Translation it');
I found the problem : if the model is not used in the fixture then the model
definition is not loaded. So the Translation relation is unknown after while
in the test.
I guess there is something missing somewhere. In my code ? In the doctrine
bootstrap ? in the documention ?
--
Thomas Rabaix
http://rabaix.net
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---