Tuesday 19 December 2006 4:12:41 am
Hi,
I,m using ez 3.8.6 upgraded from previous version. Everything works fine, multilingual is nice but i think i've found a problem.
I need to make the content in my forums always available. I found in the documentation that an object is alwais available when language_mask is odd, so i decided to make an sql wich add 1 to all the objects of the forum and forum reply class.
I found language mask present in two tables ezcontentobject and ezcontentobject_version but then i noticed the weird thing. I ran two queryes: select count(id) from ezcontentobject_version where MOD(language_mask,2)=1;
and select count(id) from ezcontentobject where MOD(language_mask,2)=1;
and got two different results:
172194 and 21914
Then i decided to look in the database to see where was the problem or what i was doing wrong. I found that the two tables have different content for the same object in the language_mask field. In ezcontentobject i have language mask=250 (even) and in ezcontentobject_version i have 4 versions of the same object with values 123, 251, 251 and 251, all of them odd. I have checked with and old version of the database (from 1 moth ago) when o updated to 3.8 and get the same results.
Any idea if this is a bug or i'm doing something wrong? Is there any other way for changing all the object in a class to be alwais available?
Thanks, Luis
|