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

eZ debug

Timing: Jan 18 2025 11:44:13
Script start
Timing: Jan 18 2025 11:44:13
Module start 'content'
Timing: Jan 18 2025 11:44:14
Module end 'content'
Timing: Jan 18 2025 11:44:14
Script end

Main resources:

Total runtime1.0221 sec
Peak memory usage4,096.0000 KB
Database Queries208

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0085 589.2656180.8203
Module start 'content' 0.00850.8417 770.0859637.5000
Module end 'content' 0.85020.1718 1,407.5859341.0625
Script end 1.0220  1,748.6484 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00500.4916210.0002
Check MTime0.00170.1652210.0001
Mysql Total
Database connection0.00090.092310.0009
Mysqli_queries0.921390.13742080.0044
Looping result0.00290.28592060.0000
Template Total0.982996.220.4914
Template load0.00220.218820.0011
Template processing0.980695.945520.4903
Template load and register function0.00010.010210.0001
states
state_id_array0.00120.120210.0012
state_identifier_array0.00310.305820.0016
Override
Cache load0.00190.1818290.0001
Sytem overhead
Fetch class attribute can translate value0.00160.157740.0004
Fetch class attribute name0.00130.1266100.0001
XML
Image XML parsing0.00190.186140.0005
class_abstraction
Instantiating content class attribute0.00000.0035140.0000
General
dbfile0.00290.2799410.0001
String conversion0.00000.000830.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
8content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 26
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs