Forums / General / attribute missing in a class with some languages

attribute missing in a class with some languages

Author Message

Fabrice Girardot

Thursday 24 April 2008 4:18:26 am

Hi :)

I have a strange problem. Let say in the class 'Folder' of my website there is one extra attribute (from the default) called "extra_info". This extra attribute is an XML block.
The website is in 5 languages. I can see the extra attribute when I edit a folder in English (the default language), but with some folders, when I try to edit it in Spanish (or French or Portuguese or Russian), the extra attribute is *not* there. If I create a brand new folder, the extra attribute is here in the 5 languages. But many of the old one don't.

Is anybody have a idea to fix that ? Every help will be really appreciated.

All the best,

--
Fabrice

Piotrek Karaś

Thursday 24 April 2008 8:03:39 am

I would recommend submitting this problem at issues.ez.no. If you haven't missed something, looks very interesting/scary... Also, it would be good to know with what version of eZ Publish this has happened.

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Fabrice Girardot

Thursday 24 April 2008 8:31:41 am

It is with eZPublish 4.0. But, I can not reproduce the problem anymore. I tried to add an attribute, and it works (as it supposed to do) in every languages. The real question is "Why and how this thing is happened?" I supposed it was when I was adding the attribute. and after this, I have to admit that I did not verified at once every languages, only english (and it was OK).

--
Fabrice

Piotrek Karaś

Thursday 24 April 2008 9:15:17 am

Fabrice,
The only thing that comes to my mind that you might have done wrong is checking an attribute as non-translatable. In such case, it would not appear when performing translation (provided that you were talking about multi-language nodes and not separate one-language documents...).

--
Company: mediaSELF Sp. z o.o., http://www.mediaself.pl
eZ references: http://ez.no/partners/worldwide_partners/mediaself
eZ certified developer: http://ez.no/certification/verify/272585
eZ blog: http://ez.ryba.eu

Fabrice Girardot

Thursday 24 April 2008 9:54:06 am

Unfortunately, it is not Disable translation checked.

--
Fabrice

Steven E. Bailey

Friday 25 April 2008 1:48:55 am

Have you tried this?

http://ez.no/developer/contribs/hacks/update_object_attributes

Certified eZPublish developer
http://ez.no/certification/verify/396111

Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com

Fabrice Girardot

Friday 25 April 2008 2:21:36 am

Oh thank you very much! it should works!

--
Fabrice