subtree expiry not working properly in eZ 3.10.0

Author Message

Marko Žmak

Tuesday 30 October 2007 5:27:49 am

I made a fresh install of eZ Publish 3.10.0.

In my user site I have a cache block in one template override for a folder set like this:

{cache-block keys=$filter_keys subtree_expiry=$node.url_alias expiry=0}

also, in the same template I have:

{set-block variable='cache_ttl'}0{/set-block}

But when I publish an object under this folder in user site the cache is not cleared, although it should (according to the docs).

I have also ViewCaching=disabled for this site.

Why is this happening? In previous versions of eZ subtree expiry was working OK.

I don't know if this matters but the url_alias for this node has both uppercase and lowercase letters.

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

André R.

Tuesday 30 October 2007 6:09:47 am

That is probably a bug.

As a workaround you should be able to use:

subtree_expiry=concat('content/view/full', $node.node_id)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

Marko Žmak

Tuesday 30 October 2007 12:27:28 pm

I tried using "content/view/full" as you suggested but it still doesn't work.

Is something wrong with my eZ installation/configuration or is this a serious bug in eZ?
Can someone confirm that this is nor happening only to me?

I tried to debug this with DebugRedirection=enabled and inserting some debug messages in eZ Publish code, but I don't know where exactly to put the debug messages. Could someone help with some suggestions?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Marko Žmak

Friday 02 November 2007 1:04:25 am

Could anyone please give some answers on this?

--
Nothing is impossible. Not if you can imagine it!

Hubert Farnsworth

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.