is this bug ? versionview.php !!

Author Message

Selmah Maxim

Wednesday 02 July 2003 7:45:09 am

I have this lines for user menu :

{section loop=fetch(content,list,hash(parent_node_id,$BusinessDirID,depth,0,class_filter_type, "include",class_filter_array,array($CompanyDataClassID))) }
{section show=eq($:item.object.owner_id,$UserID)}
{set ObjStat=true()}
{set ObjID=$:item.contentobject_id}
{set NodeID=$:item.node_id}
{/section}
{/section}

work fine, but when i wanna see the versions versionview under content module the values of ObjStat,ObjID,NodeID is false, empty , what the wrong with versionview.php , is this bug or am doing smth wrong here !?

Selmah Maxim

Wednesday 02 July 2003 7:47:47 am

the loop is return false !!!
whay ?!

Selmah Maxim

Wednesday 02 July 2003 7:57:04 am

found it :

{section show=is_unset($ObjID)}
{set ObjID=$object.id}
{/section}

but strange that loop is return false !

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

Main resources:

Total runtime1.3340 sec
Peak memory usage4,096.0000 KB
Database Queries55

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0043 587.9141152.6250
Module start 'layout' 0.00440.0025 740.539139.4453
Module start 'content' 0.00681.3256 779.9844434.9766
Module end 'content' 1.33240.0016 1,214.96098.1563
Script end 1.3340  1,223.1172 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00280.2121160.0002
Check MTime0.00120.0927160.0001
Mysql Total
Database connection0.00050.034910.0005
Mysqli_queries1.297097.2215550.0236
Looping result0.00050.0382530.0000
Template Total1.305797.920.6529
Template load0.00200.150720.0010
Template processing1.303797.726920.6519
Template load and register function0.00010.011010.0001
states
state_id_array0.00130.097410.0013
state_identifier_array0.00160.120720.0008
Override
Cache load0.00160.1217210.0001
Sytem overhead
Fetch class attribute can translate value0.00090.066610.0009
Fetch class attribute name0.00150.114030.0005
XML
Image XML parsing0.00010.008810.0001
class_abstraction
Instantiating content class attribute0.00000.000530.0000
General
dbfile0.00070.0545100.0001
String conversion0.00000.000440.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/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: 5

Time used to render debug report: 0.0001 secs