Images attributes & object version (translation problem)

Author Message

Stéphane Le Merre

Wednesday 03 March 2010 6:18:34 am

Hello,

I have a problem with images in objects i translate. Notice this problem occurs that the image is translatable or not in eZPublish 4.2 (I did not get this in 4.0.X)

Some scenarios :

1) with translatable image attribute :

I create a new object in english containing an image : english.gif
I create a new french translation of this object containing the image french.gif
If i clean cache, english.gif is not available anymore in english version.

2) with untranslatable image attribute :

I create a new object in english containing an image : all_language.gif
I create a new french translation of this object (should normally contain all_language.gif too)
=> all_language.gif is not available anymore

Did i forget something in configuration ?

http://www.ligams.com

Bertrand Dunogier

Wednesday 03 March 2010 6:59:49 am

I have a gut feeling it is related to this: http://issues.ez.no/16078

Okay, not a gut feeling, it's most likely the same. And is therefore fixed in 4.3.0b2, and available on SVN (details on the issue tracker).

Bertrand Dunogier
eZ Systems Engineering, Lyon
http://twitter.com/bdunogier
http://gplus.to/BertrandDunogier

Stéphane Le Merre

Wednesday 03 March 2010 7:51:19 am

Many thanks Bertrand, this is solved :)

http://www.ligams.com

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 04:58:34
Script start
Timing: Jan 18 2025 04:58:34
Module start 'layout'
Timing: Jan 18 2025 04:58:34
Module start 'content'
Timing: Jan 18 2025 04:58:35
Module end 'content'
Timing: Jan 18 2025 04:58:35
Script end

Main resources:

Total runtime0.8306 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0056 588.1563152.6563
Module start 'layout' 0.00560.0023 740.812539.5078
Module start 'content' 0.00790.8212 780.3203544.8984
Module end 'content' 0.82900.0015 1,325.218812.0938
Script end 0.8306  1,337.3125 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.4257160.0002
Check MTime0.00170.1988160.0001
Mysql Total
Database connection0.00110.135310.0011
Mysqli_queries0.775893.4006570.0136
Looping result0.00050.0646550.0000
Template Total0.800496.420.4002
Template load0.00230.275820.0011
Template processing0.798196.084220.3990
Template load and register function0.00010.014210.0001
states
state_id_array0.00080.094010.0008
state_identifier_array0.00120.138520.0006
Override
Cache load0.00190.2301230.0001
Sytem overhead
Fetch class attribute can translate value0.00140.165020.0007
Fetch class attribute name0.00120.146350.0002
XML
Image XML parsing0.00190.226820.0009
class_abstraction
Instantiating content class attribute0.00000.001560.0000
General
dbfile0.00190.2268220.0001
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
3content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/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: 15
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs