ezcontentobject_attribute saves ezselection-index in data_text

Author Message

Thomas Brandl

Thursday 25 September 2003 8:08:07 am

data_int would be more appropriate

Paul Forsyth

Thursday 25 September 2003 8:37:57 am

File it as a bug. If the index is only ever an integer (which it sounds like it is) then it should be stored in data_int.

If we used this as part of the sdk it would cause problems as we would expect it to be an integer and get a string in return causing '==' operations to fail.

paul

Thomas Brandl

Thursday 25 September 2003 8:46:52 am

I will!
I guess the index will always be an integer, since you can't define it for ezselection. Maybe it's not true for other datatypes which have an integer, but at least not for ezselection.

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 30 2025 19:48:26
Script start
Timing: Jan 30 2025 19:48:26
Module start 'layout'
Timing: Jan 30 2025 19:48:26
Module start 'content'
Timing: Jan 30 2025 19:48:26
Module end 'content'
Timing: Jan 30 2025 19:48:26
Script end

Main resources:

Total runtime0.0317 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0078 588.3984151.2422
Module start 'layout' 0.00780.0050 739.6406220.7500
Module start 'content' 0.01280.0169 960.3906997.7578
Module end 'content' 0.02970.0020 1,958.148429.9922
Script end 0.0317  1,988.1406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00309.5575140.0002
Check MTime0.00123.7555140.0001
Mysql Total
Database connection0.00123.775110.0012
Mysqli_queries0.004012.720330.0013
Looping result0.00000.066110.0000
Template Total0.00154.810.0015
Template load0.00113.526410.0011
Template processing0.00041.241110.0004
Override
Cache load0.00072.322910.0007
General
dbfile0.00154.661680.0002
String conversion0.00000.021840.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