Datatype "required" problems

Author Message

Brendan Pike

Tuesday 15 March 2005 10:26:26 pm

I have a couple of problems with enforcing some datatypes.

In my user class I want to "Require" certain datatypes among the ones I made required are Text Line, User Account, Enhanced Selection, Country, Selection and Checkbox. Of these only the Text Line and and User Account are actually enforcing data input. I have altered the multiple selection template of Enhanced Selection to present tick boxes and not the standard but this doesn't appear to alter anything.

Does anyone else experience this, and can anyone give suggestions as to what might cause this.

Thanks!

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Frederik Holljen

Wednesday 16 March 2005 6:47:24 am

Country and Enhanced selection are contributions so you should contact the contributor if there are bugs with them.
There is an issue with checkbox, this is already reported and will be fixed. Selection shows a combobox if I'm not mistaken and it should not be possible _not_ to select anything in it by design.

Hans Melis

Wednesday 16 March 2005 8:13:25 am

I'm the main programmer of the Enhanced selection datatype. We use it on all of our portals (both internal and external ones) and we have yet to find an issue with the required option.

If you believe there is an issue, you're welcome to email me the full details at hmelis [at] sckcen [dot] be (preferrably steps how to reproduce the problem).

Hans
http://blog.hansmelis.be

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

Main resources:

Total runtime1.0292 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 587.9141152.6250
Module start 'layout' 0.00520.0028 740.539139.4453
Module start 'content' 0.00801.0197 779.9844571.0938
Module end 'content' 1.02770.0015 1,351.078112.1641
Script end 1.0292  1,363.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.2958160.0002
Check MTime0.00130.1269160.0001
Mysql Total
Database connection0.00060.060310.0006
Mysqli_queries0.980995.3019590.0166
Looping result0.00060.0562570.0000
Template Total0.993296.520.4966
Template load0.00210.207320.0011
Template processing0.991096.287920.4955
Template load and register function0.00020.022210.0002
states
state_id_array0.00200.194010.0020
state_identifier_array0.00260.251620.0013
Override
Cache load0.00180.1709150.0001
Sytem overhead
Fetch class attribute can translate value0.00060.057530.0002
Fetch class attribute name0.00170.167350.0003
XML
Image XML parsing0.00120.111830.0004
class_abstraction
Instantiating content class attribute0.00000.001650.0000
General
dbfile0.00240.2285210.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/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: 11
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs