How to stop editor automatically changing URL?

Author Message

Andy Caiger

Tuesday 24 November 2009 6:48:52 pm

We've experienced a weird and annoying problem with eZ 4.2.0

We published a page containing a link to an external URL which was slightly wrong (incorrect case). Then when we tried to publish the page with the corrected URL, the URL was always replaced with the original URL (the first letter was changed to a capital rather than lowercase). Clearly eZ Publish was remembering the first URL as the 'correct' one and changing it for us? How to deal with this problem? It seems over-zealous for eZ Publish to correct external URLs when I enter them!

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.com

Robin Muilwijk

Thursday 26 November 2009 11:09:16 am

Hi Andy,

This might be a silly question, but did you try emptying the cache?

Regards Robin

Board member, eZ Publish Community Project Board - Member of the share.ez.no team - Key values: Openness and Innovation.

LinkedIn: http://nl.linkedin.com/in/robinmuilwijk // Twitter: http://twitter.com/i_robin // Skype: robin.muilwijk

Andy Caiger

Tuesday 26 January 2010 9:43:30 pm

No, it's not a silly question, I often ask other people that question do. But in this case I did remember the Golden Rule of eZ Publish -- "Clear the cache" and it did not fix the problem. In the end I got round it by adding a final slash to the external URL, which wasn't recognised and so wasn't corrected.

I still find it a strange idea that eZ Publish should try to correct the case of external URLs when I enter them, can anyone explain why it does that?

EAB - Integrated Internet Success
Offices in England, France & China.
http://www.eab.co.uk http://www.eab-china.com http://www.eab-france.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 02:12:10
Script start
Timing: Jan 18 2025 02:12:10
Module start 'layout'
Timing: Jan 18 2025 02:12:10
Module start 'content'
Timing: Jan 18 2025 02:12:10
Module end 'content'
Timing: Jan 18 2025 02:12:10
Script end

Main resources:

Total runtime0.0173 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 588.0391152.6406
Module start 'layout' 0.00570.0045 740.679739.4766
Module start 'content' 0.01020.0049 780.156393.2422
Module end 'content' 0.01510.0020 873.398434.3047
Script end 0.0171  907.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002614.7823140.0002
Check MTime0.00106.0734140.0001
Mysql Total
Database connection0.00084.627910.0008
Mysqli_queries0.003922.729230.0013
Looping result0.00000.150510.0000
Template Total0.00158.510.0015
Template load0.00084.546410.0008
Template processing0.00073.914110.0007
Override
Cache load0.00052.762610.0005
General
dbfile0.00021.326880.0000
String conversion0.00000.062140.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs