Troubles with eZp 3.8 and not translatable attributes

Author Message

Ludovic André

Monday 19 February 2007 1:28:42 am

Hi all,

I'm currently having some troubles with the property 'not translatable' of the class attributes.
I have a site with 2 languages (fr / en), and for some parts I need to associates images to an object which represents a page. Those images can be chosen via a select box which shows a given type of objects. Those select boxes are declared as being not translatable, but I can't get back the fr value while being in the en siteaccess... Moreover, when I'm editing the content in the admin siteaccess, I can see that the EN version of the pages does not show at all the values I entered in the FR version...

Is there any reported bug I didn't find in the issues? How can I get back the FR value to override the mechanism of eZp if it's not working?

Thanks!

Ludovic André

Ludovic André

Monday 19 February 2007 2:46:56 am

Update:

It seems that this problem happened when moving an attribute from translatable to non transtable, while having content already entered in the CMS.
For a freshly created page with those attributes set to 'not translatable', I do not have this problem... I presume that the DB content is not totally correct, and eZp does not know that it has to copy the content from the "main" language, to the others...

If I'm right, Is there any script out there which could handle that? I presume that I'm not the first & only one who ran into that? :)

Thanks

Ludovic André

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 06:14:51
Script start
Timing: Jan 31 2025 06:14:51
Module start 'layout'
Timing: Jan 31 2025 06:14:51
Module start 'content'
Timing: Jan 31 2025 06:14:52
Module end 'content'
Timing: Jan 31 2025 06:14:52
Script end

Main resources:

Total runtime0.9383 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0048 588.2734151.2266
Module start 'layout' 0.00480.0025 739.500036.6797
Module start 'content' 0.00730.9300 776.1797850.4141
Module end 'content' 0.93730.0010 1,626.59387.8125
Script end 0.9383  1,634.4063 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3493160.0002
Check MTime0.00130.1410160.0001
Mysql Total
Database connection0.00080.082110.0008
Mysqli_queries0.895695.4432520.0172
Looping result0.00040.0402500.0000
Template Total0.909496.920.4547
Template load0.00190.207220.0010
Template processing0.907596.709520.4537
Template load and register function0.00120.128010.0012
states
state_id_array0.00080.083410.0008
state_identifier_array0.00080.087620.0004
Override
Cache load0.00150.1632140.0001
Sytem overhead
Fetch class attribute can translate value0.00060.063010.0006
Fetch class attribute name0.00230.245420.0012
XML
Image XML parsing0.00010.010110.0001
class_abstraction
Instantiating content class attribute0.00000.000920.0000
General
dbfile0.00220.2357100.0002
String conversion0.00000.000940.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs