22976 Posts in 11702 Topics by 2826 members
|Go to End|
12 May 2011 at 9:21am
I've just found a very strange behaviour of TableListFields when using Translatable.
For example I have a ManyManyComplexTableField filled with a list of pages:
$table = new ManyManyComplexTableField(
'Title' => 'Title',
When Translatable is enabled, this should show up a list of all ArticlePages existing in database, that have locale exact to current page locale. And this works perfect.
But when I'm editing the page in locale other than default, switching the page in table fills it up with ArticlePages from default locale. For example:
My default locale is en_GB, another allowed locale is de_DE. I have 18 ArticlePages in en_GB and 12 in de_DE locale.
When I open a German page in CMS, the table is filled with German ArticlePages and the counter shows 12 total. But switching the page magically shows up English ArticlePages from 10 to 18 and the counter switches to 18 total.
I've been trying to trace it down, but failed. If anyone got an idea why this is happening, please help. Could there be anything wrong with my data model, or did I just find a bug?
Thanks a lot,
|Go to Top|