Forums / Install & configuration / Is there any problem in transformation url in 4.0.2 version?

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?

eZ debug

Timing: Jan 18 2025 11:34:39
Script start
Timing: Jan 18 2025 11:34:39
Module start 'content'
Timing: Jan 18 2025 11:34:40
Module end 'content'
Timing: Jan 18 2025 11:34:40
Script end

Main resources:

Total runtime0.7963 sec
Peak memory usage4,096.0000 KB
Database Queries183

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 589.5313180.7891
Module start 'content' 0.00780.6413 770.3203414.4297
Module end 'content' 0.64920.1470 1,184.7500333.7578
Script end 0.7962  1,518.5078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.5695210.0002
Check MTime0.00160.1952210.0001
Mysql Total
Database connection0.00080.096610.0008
Mysqli_queries0.721690.61911830.0039
Looping result0.00200.24791810.0000
Template Total0.767696.420.3838
Template load0.00200.253820.0010
Template processing0.765596.141320.3828
Template load and register function0.00040.054710.0004
states
state_id_array0.00030.034310.0003
state_identifier_array0.00180.227620.0009
Override
Cache load0.00170.2084300.0001
Sytem overhead
Fetch class attribute can translate value0.00210.268420.0011
Fetch class attribute name0.00090.112310.0009
XML
Image XML parsing0.00040.050520.0002
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00340.4320210.0002
String conversion0.00000.000930.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

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
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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