Removing related objects and cache problem...

Author Message

Joan Roca

Tuesday 21 November 2006 3:38:18 am

I have this situation:

I have an object A that has an object relation with another object B. A is related with B or B is reverse related with A. In the template view of B, B shows his reverse related objects, so object A is shown. Now, when I remove A relation to B, B is still showing A. I tried to activate smartcache like this:

[A_identifier]
DependentClassIdentifier[]
DependentClassIdentifier[]=B_identifier
ClearCacheMethod=clear_object_and_relating_objects_caches

but it still doesnt work.

any ideas?

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 18:26:46
Script start
Timing: Jan 18 2025 18:26:46
Module start 'layout'
Timing: Jan 18 2025 18:26:46
Module start 'content'
Timing: Jan 18 2025 18:26:47
Module end 'content'
Timing: Jan 18 2025 18:26:47
Script end

Main resources:

Total runtime0.8163 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.0044 588.0469152.6406
Module start 'layout' 0.00440.0021 740.687539.4766
Module start 'content' 0.00650.8083 780.1641400.1328
Module end 'content' 0.81480.0014 1,180.29698.1250
Script end 0.8163  1,188.4219 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3981160.0002
Check MTime0.00130.1616160.0001
Mysql Total
Database connection0.00070.083510.0007
Mysqli_queries0.779295.4494460.0169
Looping result0.00050.0661440.0000
Template Total0.786696.420.3933
Template load0.00210.255320.0010
Template processing0.784596.099520.3922
Template load and register function0.00020.023310.0002
states
state_id_array0.00100.119710.0010
state_identifier_array0.00100.125720.0005
Override
Cache load0.00170.2076110.0002
Sytem overhead
Fetch class attribute can translate value0.00110.129110.0011
Fetch class attribute name0.00100.121510.0010
XML
Image XML parsing0.00010.016810.0001
class_abstraction
Instantiating content class attribute0.00000.000810.0000
General
dbfile0.00060.0734100.0001
String conversion0.00000.000940.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/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs