object_count attribute returning node count

Author Message

Eirik Alfstad Johansen

Friday 27 August 2004 2:55:09 am

Hi guys,

It seems to me like the object_count attribute of eZContentClass returns the node count of the class and not the object count as the name suggests.

Has anyone else experienced this?

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

Hans Melis

Friday 27 August 2004 3:31:25 am

We did experience this and filed a bug report about it: http://ez.no/community/bug_reports/object_count_counts_nodes_instead_of_objects

But that was in 3.4.0 and it is fixed in 3.4.1

Hans
http://blog.hansmelis.be

Eirik Alfstad Johansen

Friday 27 August 2004 4:32:05 am

Thanks a lot for pointing that out to me, Hans.

Sincerely,

Eirik Alfstad Johansen
http://www.netmaking.no/

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 19 2025 01:22:42
Script start
Timing: Jan 19 2025 01:22:42
Module start 'layout'
Timing: Jan 19 2025 01:22:42
Module start 'content'
Timing: Jan 19 2025 01:22:42
Module end 'content'
Timing: Jan 19 2025 01:22:42
Script end

Main resources:

Total runtime0.0141 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.0050 590.4219152.6406
Module start 'layout' 0.00500.0026 743.062539.4766
Module start 'content' 0.00760.0045 782.539189.2734
Module end 'content' 0.01210.0019 871.812534.3047
Script end 0.0140  906.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002215.5708140.0002
Check MTime0.00117.5491140.0001
Mysql Total
Database connection0.00075.087510.0007
Mysqli_queries0.002416.756730.0008
Looping result0.00000.098310.0000
Template Total0.001611.110.0016
Template load0.00085.897310.0008
Template processing0.00075.167110.0007
Override
Cache load0.00053.759310.0005
General
dbfile0.00042.791980.0000
String conversion0.00000.057640.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