Is there any problem in transformation url in 4.0.2 version?

Author Message

Quynh Nguyen

Sunday 08 February 2009 9:12:30 am

While I'm trying the version 4.0.1, I got the new release 4.0.2, and I tried to upgrade to the new version.

However, I got the problem when create content structure and generate the nice url via: php /bin/php/updateniceurls.php after truncate ezurlalias_ml table.

I added more charset in my language as I did on 4.0.1, this is my /settings/override/transform.ini.append.php:

Charsets[]=utf-8;vietnamese

[vietnamese]
Files[]=vietnamese.tr
Extensions[]

I had add file vietnamese.tr in /share/transformations folder:

vietnamese-exta_diacritical:
U+00C0 = "A"
U+00C1 = "A"
U+1EA0 = "A"
U+1EA2 = "A"
U+00C3 = "A"
U+00E0 = "a"
U+00E1 = "a"
U+1EA1 = "a"
U+1EA3 = "a"
U+00E3 = "a"
U+0102 = "A"
... and more, so long table...

Then I added more setting on /settings/override/site.ini.append.php:

[URLTranslator]
TransformationGroup=urlalias_compat

After that all, I had clear all cache, restart apache, truncated table, and then run command: php /bin/php/updateniceurls.php to re-generate the urls.

But the results are wrong. Some Vietnamese characters are not change as transformation's define.

Is this a bug in new release?

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 16:06:29
Script start
Timing: Jan 18 2025 16:06:29
Module start 'layout'
Timing: Jan 18 2025 16:06:29
Module start 'content'
Timing: Jan 18 2025 16:06:30
Module end 'content'
Timing: Jan 18 2025 16:06:30
Script end

Main resources:

Total runtime0.9941 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.0056 588.3984152.6875
Module start 'layout' 0.00560.0052 741.085939.5234
Module start 'content' 0.01080.9817 780.6094409.3047
Module end 'content' 0.99250.0015 1,189.91418.0781
Script end 0.9940  1,197.9922 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3287160.0002
Check MTime0.00120.1229160.0001
Mysql Total
Database connection0.00100.100410.0010
Mysqli_queries0.947795.3371460.0206
Looping result0.00050.0477440.0000
Template Total0.956096.220.4780
Template load0.00200.198420.0010
Template processing0.954095.973720.4770
Template load and register function0.00020.015610.0002
states
state_id_array0.00090.087610.0009
state_identifier_array0.00210.214420.0011
Override
Cache load0.00160.1626300.0001
Sytem overhead
Fetch class attribute can translate value0.00080.083210.0008
Fetch class attribute name0.00170.166710.0017
XML
Image XML parsing0.00020.018210.0002
class_abstraction
Instantiating content class attribute0.00000.000710.0000
General
dbfile0.00060.0575100.0001
String conversion0.00000.001240.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
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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