urlalias_iri and file system problem

Author Message

Abdallah Mostafa

Tuesday 14 June 2011 6:20:24 am

Hi,

I'm using eZ Publish to develop a multi-lingual website, English and Arabic.

TransformationGroup setting is urlalias_iri, and the URL aliases are working just fine. However the when an image or a file is uploaded eZ creates a folder structure as same as the content tree structure, with the same names, etc. So in the case of an Arabic alias, folders are created with Arabic names (UTF-8) and these names don't get recognized by the operating system. And in some other times eZ creates the folders with strange characters, not even Arabic.

When the above happens, images and files uploaded are not reachable anymore.

Is there a way/setting to prevent this behavior, for example URL alias stays unicode, but in the same time folder names are latin?

Thanks,
Abdallah

André R.

Tuesday 14 June 2011 8:23:34 am

ATM it is not possible to use urlalias_iri if you use a file system that does not support full utf8 I'm afraid, there is a issue for this in the issue tracker though as it certainly isn't a constraint that makes much sense.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Abdallah Mostafa

Tuesday 14 June 2011 9:06:21 am

Thanks André.

And I suppose there's no hack/patch/workaround for this!

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 30 2025 00:57:47
Script start
Timing: Jan 30 2025 00:57:47
Module start 'layout'
Timing: Jan 30 2025 00:57:47
Module start 'content'
Timing: Jan 30 2025 00:57:49
Module end 'content'
Timing: Jan 30 2025 00:57:49
Script end

Main resources:

Total runtime1.3323 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.0071 588.1563151.2109
Module start 'layout' 0.00710.0044 739.367236.6563
Module start 'content' 0.01151.3195 776.0234475.6797
Module end 'content' 1.33100.0012 1,251.703111.8438
Script end 1.3322  1,263.5469 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.3010160.0003
Check MTime0.00180.1324160.0001
Mysql Total
Database connection0.00080.059710.0008
Mysqli_queries1.291096.9037570.0226
Looping result0.00060.0426550.0000
Template Total1.280296.120.6401
Template load0.00240.178520.0012
Template processing1.277895.908720.6389
Template load and register function0.00040.032810.0004
states
state_id_array0.00220.164110.0022
state_identifier_array0.00280.211920.0014
Override
Cache load0.00170.1272160.0001
Sytem overhead
Fetch class attribute can translate value0.00070.050420.0003
Fetch class attribute name0.00090.065140.0002
XML
Image XML parsing0.00070.052420.0003
class_abstraction
Instantiating content class attribute0.00000.000740.0000
General
dbfile0.00130.0975170.0001
String conversion0.00000.000640.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/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
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs