Enabling ViewCaching causes wrong "modified date" of node

Author Message

Martin Burger

Friday 08 April 2005 2:23:14 am

Hello,

I enabled the <b>ViewCaching</b> feature, but now the variable

    $node.contentobject_version_object.modified

in pagelayout.tpl shows <b>01.01.1970</b> instead of the date of the last modification. Setting ViewCaching to disabled shows the proper date.

See http://www.ez.no/ez_publish/documentation/customization/custom_design/template_variables_set_by_ezpublish
(2.3.3).

Any suggestions? Bug?

Reagrds, Martin

http://www.netbeyond.de/

Ɓukasz Serwatka

Monday 11 April 2005 7:21:41 am

Hi Martin,

Could you report this problem in bug system?
http://ez.no/community/bugs

Thank you.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Martin Burger

Monday 11 April 2005 7:44:56 am

Bug posted: http://ez.no/bugs/view/6470

http://www.netbeyond.de/

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

Main resources:

Total runtime0.0346 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0049 588.3750151.2422
Module start 'layout' 0.00490.0038 739.6172220.7500
Module start 'content' 0.00870.0242 960.3672997.9922
Module end 'content' 0.03290.0016 1,958.359433.9922
Script end 0.0345  1,992.3516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00288.1901140.0002
Check MTime0.00123.3729140.0001
Mysql Total
Database connection0.00082.349310.0008
Mysqli_queries0.00205.742930.0007
Looping result0.00000.029010.0000
Template Total0.00113.310.0011
Template load0.00082.456210.0008
Template processing0.00030.792510.0003
Override
Cache load0.00061.724410.0006
General
dbfile0.005716.465080.0007
String conversion0.00000.019340.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