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

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 31 2025 01:22:16
Script start
Timing: Jan 31 2025 01:22:16
Module start 'layout'
Timing: Jan 31 2025 01:22:16
Module start 'content'
Timing: Jan 31 2025 01:22:16
Module end 'content'
Timing: Jan 31 2025 01:22:16
Script end

Main resources:

Total runtime0.0323 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0068 588.2578151.2266
Module start 'layout' 0.00680.0053 739.4844220.7188
Module start 'content' 0.01200.0186 960.20311,005.8047
Module end 'content' 0.03070.0016 1,966.007841.9922
Script end 0.0323  2,008.0000 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00288.6113140.0002
Check MTime0.00113.2712140.0001
Mysql Total
Database connection0.00092.637210.0009
Mysqli_queries0.003912.162330.0013
Looping result0.00000.090010.0000
Template Total0.00123.710.0012
Template load0.00082.621710.0008
Template processing0.00041.089410.0004
Override
Cache load0.00061.814210.0006
General
dbfile0.003611.169680.0005
String conversion0.00000.037640.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs