Object ID mismatch

Author Message

BJørnar Trondsen

Monday 07 August 2006 2:10:07 pm

In the admin panel, it says that a certain folder has Object ID 70. But when I print out $node.node_id in a full template override for class Folder, it says that the node_id is 72. All other nodes are 1 or 2 off. For example, another folder shows ID 102 in the admin panel while output on the user site, it says that the node ID is 101.

That is why overrides based on Node IDs doesn't work.

Is this a bug in eZ?

Xavier Dutoit

Monday 07 August 2006 2:33:05 pm

Hi,

Nodeid isn't the object id. THat's two different notion and for the same "thing" you have both a node and an object id, that have different values

I suggest that you read the documentation on that topic, that's pretty clear.

X+

http://www.sydesy.com

BJørnar Trondsen

Monday 07 August 2006 3:25:31 pm

Thanks mate. Here's the informatiom:
http://ez.no/doc/ez_publish/technical_manual/3_8/concepts_and_basics/content_management/the_content_node

But how can I find the Node_ID from the admin panel?

Damien Pobel

Tuesday 08 August 2006 12:23:30 am

Hi,

You can click on "Details" between "Preview" and "Locations" then a new block call "Details" will appear under the Preview block with several cols or you can put the mouse pointer over an item in the tree menu (on the left) to view the "tooltip".

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

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 22:38:10
Script start
Timing: Jan 18 2025 22:38:10
Module start 'layout'
Timing: Jan 18 2025 22:38:10
Module start 'content'
Timing: Jan 18 2025 22:38:11
Module end 'content'
Timing: Jan 18 2025 22:38:11
Script end

Main resources:

Total runtime1.1232 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 589.0078152.6094
Module start 'layout' 0.00490.0027 741.617239.4141
Module start 'content' 0.00761.1144 781.0313585.5781
Module end 'content' 1.12200.0012 1,366.609412.1875
Script end 1.1232  1,378.7969 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.2801160.0002
Check MTime0.00140.1211160.0001
Mysql Total
Database connection0.00070.065010.0007
Mysqli_queries1.076495.8334620.0174
Looping result0.00060.0536600.0000
Template Total1.094497.420.5472
Template load0.00190.172520.0010
Template processing1.092597.261220.5462
Template load and register function0.00010.013210.0001
states
state_id_array0.00070.059610.0007
state_identifier_array0.00060.051820.0003
Override
Cache load0.00160.1389200.0001
Sytem overhead
Fetch class attribute can translate value0.00040.036030.0001
Fetch class attribute name0.00090.076960.0001
XML
Image XML parsing0.00110.101430.0004
class_abstraction
Instantiating content class attribute0.00000.001060.0000
General
dbfile0.00100.0869220.0000
String conversion0.00000.000840.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs