I think this is a bug: http://trac.symfony-project.org/ticket/8194#preview

On 27 Sty, 19:23, dziobacz <aaabbbcccda...@gmail.com> wrote:
> I have international frontend application and normal backend. I have
> model Firm with column: id and model FirmTranslation with column:
> offer. In frontend everything is ok but in backend when I use for
> example query:
> Doctrine_Query::create()->from('Firm')->execute();
> I can show all data from model Firm but not from FirmTranslation -
> they are empty. If I write before this query:
> $this->getUser()->setCulture('pl');
> then I see also data from FirmTranslation - only then everything is
> ok, but why ? I have in file settings.yml in backend:
> default_culture:       pl_PL
> but $this->getUser()->getCulture() show me culture: sf
> why ? I can't write before each query:
> $this->getUser()->setCulture('pl');  - it isn't comfortable :/

-- 
You received this message because you are subscribed to the Google Groups 
"symfony users" group.
To post to this group, send email to symfony-us...@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.

Reply via email to