strange behaviour of Option attribute in admin

Author Message

Marko Žmak

Thursday 20 July 2006 11:02:58 pm

I've created a poll class with an Option attribute and I didn't set the "Collects information" checkbox. After that I created a poll object of this class and in edit gui for this Option attribute appeared a table with:

Option Aditional price

So I created some options and published the object. The I opened it's full view in admin interface and the option attribute was shown with the values I created plus a currency simbol.

Then I set the "Collects information" checkbox for this Option attribute in the class definition and re-edited the poll object. The edit gui now showed a table only with:

Option

and after I edited the object it appeared as normal poll.

Is this expected behaviour or a bug?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

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 21 2025 02:54:25
Script start
Timing: Jan 21 2025 02:54:25
Module start 'layout'
Timing: Jan 21 2025 02:54:25
Module start 'content'
Timing: Jan 21 2025 02:54:25
Module end 'content'
Timing: Jan 21 2025 02:54:25
Script end

Main resources:

Total runtime0.0220 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.0068 588.0469151.2266
Module start 'layout' 0.00680.0030 739.273436.6953
Module start 'content' 0.00980.0099 775.968890.0938
Module end 'content' 0.01970.0022 866.062529.9922
Script end 0.0219  896.0547 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002812.7647140.0002
Check MTime0.00136.0284140.0001
Mysql Total
Database connection0.00125.257610.0012
Mysqli_queries0.003415.597530.0011
Looping result0.00000.067110.0000
Template Total0.00167.110.0016
Template load0.00114.826810.0011
Template processing0.00052.238610.0005
Override
Cache load0.00083.523510.0008
General
dbfile0.003717.021080.0005
String conversion0.00000.036840.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