Behavior of the proccess of validation

Author Message

Pascal France

Wednesday 31 March 2010 7:28:35 am

Hi,

When I use a form for the page contact, the validating template is:

design/standard/templates/content/edit_validation.tpl

When a mandatory field is left empty, the system displays an error message and all the fileds are cleared. Thus, we need to retype everything. It's a little boring...

What I don't understand is when I edit an objet from the frontend (public site) to create a new article, the validating template is the same one but this time, the content of the fields are not cleared. So I just have to complete the field(s) I omitted.

Is there a solution ?

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

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

Main resources:

Total runtime0.6823 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.0048 588.0313152.6406
Module start 'layout' 0.00480.0026 740.671939.4766
Module start 'content' 0.00740.6736 780.1484427.1016
Module end 'content' 0.68100.0013 1,207.25008.1406
Script end 0.6823  1,215.3906 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4541160.0002
Check MTime0.00120.1724160.0001
Mysql Total
Database connection0.00070.095810.0007
Mysqli_queries0.643894.3573460.0140
Looping result0.00050.0766440.0000
Template Total0.652695.620.3263
Template load0.00250.360420.0012
Template processing0.650195.273120.3250
Template load and register function0.00020.026410.0002
states
state_id_array0.00230.343010.0023
state_identifier_array0.00110.161120.0005
Override
Cache load0.00190.2820100.0002
Sytem overhead
Fetch class attribute can translate value0.00050.080210.0005
Fetch class attribute name0.00060.081610.0006
XML
Image XML parsing0.00020.036310.0002
class_abstraction
Instantiating content class attribute0.00000.000610.0000
General
dbfile0.00060.0933100.0001
String conversion0.00000.000940.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
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 4
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs