Object Relations and Translation.

Author Message

Ilya Sazonov

Saturday 30 October 2010 11:13:19 am

I'm currently trying to use object relations.

I have 'article' data type which should belong to one or more categories. So I created 'article_category' data type and than added 'categories' attribute, which is 'Object relations' attribute type to 'arcticle' class.

The attribute is not translatable, but in non-default language versions it is shown as blank in administration inteface.

So I wanted to ask if relations would be present in language versions, different from default one.

Ilya Sazonov

Saturday 30 October 2010 11:37:03 am

It seems, that the attribute was left blank because I checked 'disable translation' after I actually made relations. I tried to make relations on another article and they are visible in every language.

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 18 2025 05:14:26
Script start
Timing: Jan 18 2025 05:14:26
Module start 'layout'
Timing: Jan 18 2025 05:14:26
Module start 'content'
Timing: Jan 18 2025 05:14:27
Module end 'content'
Timing: Jan 18 2025 05:14:27
Script end

Main resources:

Total runtime0.9506 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.0072 592.2578152.6250
Module start 'layout' 0.00720.0041 744.882839.4531
Module start 'content' 0.01130.9377 784.3359422.1172
Module end 'content' 0.94910.0015 1,206.45318.1563
Script end 0.9505  1,214.6094 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3511160.0002
Check MTime0.00130.1418160.0001
Mysql Total
Database connection0.00080.088510.0008
Mysqli_queries0.906995.4024520.0174
Looping result0.00050.0528500.0000
Template Total0.911595.920.4557
Template load0.00230.241020.0011
Template processing0.909295.645220.4546
Template load and register function0.00020.021510.0002
states
state_id_array0.00090.095010.0009
state_identifier_array0.00110.120320.0006
Override
Cache load0.00190.196090.0002
Sytem overhead
Fetch class attribute can translate value0.00060.068310.0006
Fetch class attribute name0.00130.135420.0006
XML
Image XML parsing0.00010.011810.0001
class_abstraction
Instantiating content class attribute0.00000.000820.0000
General
dbfile0.00150.1542100.0001
String conversion0.00000.001340.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
2content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 6
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs