Loss of image datatypes

Author Message

Mauro Innocenti

Wednesday 31 August 2005 5:55:38 am

I'm using ezp 3.5.4 and 3.6.1.

Both versions are configured with two languages having the primary language different from english (italian for me) and english-UK for the secondary.

I'm using the "image" datatype for some object classes.

When I upload (in the admin interface, object editing) an image file to an object of those custom classes for which I first created also the translated version (english) and I publish it, ezp loses the file (from the filesystem) resulting in corrupted image attribute for the object (no preview, no dimension data).

I posted also a bug with detailed steps for reproducing the problem:
http://ez.no/community/bugs/image_file_loss_using_an_image_attribute_datatype_and_primary_language_different_from_english

Anyone know a solution or workaround?

Mauro

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 19 2025 03:19:24
Script start
Timing: Jan 19 2025 03:19:24
Module start 'layout'
Timing: Jan 19 2025 03:19:24
Module start 'content'
Timing: Jan 19 2025 03:19:25
Module end 'content'
Timing: Jan 19 2025 03:19:25
Script end

Main resources:

Total runtime0.7577 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1484152.6250
Module start 'layout' 0.00520.0033 741.773439.4453
Module start 'content' 0.00850.7476 781.2188400.5469
Module end 'content' 0.75610.0015 1,181.76568.1719
Script end 0.7577  1,189.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.4188160.0002
Check MTime0.00140.1829160.0001
Mysql Total
Database connection0.00080.102710.0008
Mysqli_queries0.722595.3543460.0157
Looping result0.00040.0514440.0000
Template Total0.728596.120.3643
Template load0.00200.261620.0010
Template processing0.726595.880020.3633
Template load and register function0.00020.032210.0002
states
state_id_array0.00110.149510.0011
state_identifier_array0.00100.125620.0005
Override
Cache load0.00160.2144110.0001
Sytem overhead
Fetch class attribute can translate value0.00070.095510.0007
Fetch class attribute name0.00080.107310.0008
XML
Image XML parsing0.00010.013110.0001
class_abstraction
Instantiating content class attribute0.00000.001210.0000
General
dbfile0.00060.0831100.0001
String conversion0.00000.001040.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
1content/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
1content/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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs