Cannot empty URL datatype once edited

Author Message

Barney Gumble

Wednesday 21 January 2004 9:42:45 am

In 3.2.4 I've added a URL datatype to one of my custom classes. I can store a URL in it via the admin tool, but once entered I am unable to clear it.

For example, if I set the URL to http://www.whatever.com and click 'Send to Publishing' then the URL is stored OK. However if I re-edit the node and delete the http://www.whatever.com the data is not saved. When I go back to re-edit the node http://www.whatever.com is still there.

Any ideas?

Marco Zinn

Wednesday 21 January 2004 12:41:38 pm

Silly question: is the attribute "required"?
If not, you should file a bug-report, when you can re-produce the error.

Marco
http://www.hyperroad-design.com

Barney Gumble

Wednesday 21 January 2004 4:42:11 pm

Marco - good point, but the first thing I checked. Unfortunately it wasn't that simple. Instead I've opted for a text line which I can easily check the status of - and which saves correctly each time! Thanks.

Barney Gumble

Friday 30 January 2004 8:34:03 am

For anyone interested the problem was resolved when I upgraded to 3.3.2.

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 20:56:20
Script start
Timing: Jan 18 2025 20:56:20
Module start 'layout'
Timing: Jan 18 2025 20:56:20
Module start 'content'
Timing: Jan 18 2025 20:56:20
Module end 'content'
Timing: Jan 18 2025 20:56:20
Script end

Main resources:

Total runtime0.0215 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.0100 588.0156152.6250
Module start 'layout' 0.01000.0036 740.640639.4453
Module start 'content' 0.01360.0058 780.085989.3359
Module end 'content' 0.01940.0021 869.421934.3047
Script end 0.0215  903.7266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002812.8487140.0002
Check MTime0.00125.6008140.0001
Mysql Total
Database connection0.00125.434610.0012
Mysqli_queries0.003616.685030.0012
Looping result0.00000.074310.0000
Template Total0.00167.310.0016
Template load0.00083.695510.0008
Template processing0.00083.622310.0008
Override
Cache load0.00052.529410.0005
General
dbfile0.00125.620880.0002
String conversion0.00000.046640.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