is this bug ?

Author Message

Selmah Maxim

Sunday 04 May 2003 2:07:01 pm

i had made class for test, named with mycats, and it`s have 3 input (cat_name,desc,active), and i have insert some values to the site with this class.
now, i worte this lines to list the names, work fine, but strange, coz want`n show up the values just with item.name attribute , but the are no attribute with like this in the class !!
------------------
with item.cat_name, i got this bug line :
Error: eZTemplate @ test.tpl:18[0] May 05 2002 00:08:53
No such attribute for object(ezcontentobjecttreenode): cat_name
Choose one of following:
---------------------
not listing the attributes !!!

____________ tpl code _______

{let test=fetch( 'content', 'list', hash(parent_node_id, 321))}
{section name=CAT loop=$test}
{$CAT:item.name|wash}<br>
{/section}
{/let}

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 04:15:59
Script start
Timing: Jan 18 2025 04:15:59
Module start 'layout'
Timing: Jan 18 2025 04:15:59
Module start 'content'
Timing: Jan 18 2025 04:16:00
Module end 'content'
Timing: Jan 18 2025 04:16:00
Script end

Main resources:

Total runtime0.5829 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.0066 591.0625152.6094
Module start 'layout' 0.00670.0030 743.671939.4063
Module start 'content' 0.00960.5718 783.0781402.2031
Module end 'content' 0.58150.0014 1,185.28138.2031
Script end 0.5828  1,193.4844 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.6458160.0002
Check MTime0.00150.2640160.0001
Mysql Total
Database connection0.00070.115110.0007
Mysqli_queries0.536392.0026460.0117
Looping result0.00210.3638440.0000
Template Total0.536292.020.2681
Template load0.00240.417620.0012
Template processing0.533791.571120.2669
Template load and register function0.00030.053310.0003
states
state_id_array0.00080.129510.0008
state_identifier_array0.00440.759220.0022
Override
Cache load0.00200.3503180.0001
Sytem overhead
Fetch class attribute can translate value0.00050.093810.0005
Fetch class attribute name0.00130.224110.0013
XML
Image XML parsing0.00010.020410.0001
class_abstraction
Instantiating content class attribute0.00000.001610.0000
General
dbfile0.00060.1060100.0001
String conversion0.00000.001540.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
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/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: 7
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs