Deselection in enum field

Author Message

Vivienne van Velzen

Thursday 01 May 2003 7:51:32 am

I'm using an enum field in one of my classes to create a multiple selectbox of categories. This works great. When you create a content-item with this class the selectbox is shown nicely.
The only thing is that once a category is chosen (and stored), you can't go back to the situation that none are chosen. I can deselect all selected categories (with ctrl-click), but when I try to store the item, the application ignores me :(
The best I can do is get back to one. I could probably make an entry such as 'none of the above', but I'd rather not.
Anyone?
TIA,

Vivienne

Marco Zinn

Friday 02 May 2003 1:26:10 pm

Hi,

I can confirm this bug with 3.0.2.
Did you already file a bug report?

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

Vivienne van Velzen

Sunday 04 May 2003 11:55:57 am

Hmmm, no. I'm used to thinking it's me first, that I missed something. Not that the application is at fault. I'll file one now.

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

Main resources:

Total runtime0.9283 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0075 589.0469152.6250
Module start 'layout' 0.00760.0038 741.671939.4453
Module start 'content' 0.01140.9147 781.1172530.7266
Module end 'content' 0.92610.0021 1,311.84388.1641
Script end 0.9282  1,320.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00400.4327160.0003
Check MTime0.00160.1737160.0001
Mysql Total
Database connection0.00090.101610.0009
Mysqli_queries0.875394.2906570.0154
Looping result0.00070.0776550.0000
Template Total0.886995.520.4435
Template load0.00270.289520.0013
Template processing0.884295.253720.4421
Template load and register function0.00020.024710.0002
states
state_id_array0.00100.104110.0010
state_identifier_array0.00180.191120.0009
Override
Cache load0.00210.2213160.0001
Sytem overhead
Fetch class attribute can translate value0.00120.132520.0006
Fetch class attribute name0.00110.117140.0003
XML
Image XML parsing0.00060.065220.0003
class_abstraction
Instantiating content class attribute0.00000.001040.0000
General
dbfile0.00090.0974160.0001
String conversion0.00000.001340.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs