problem with cache-block

Author Message

justin kazadi

Thursday 07 August 2008 2:56:21 am

hello,
i want to use the cache-block that will not expire when a node is published, but i don't understand why it didn't work. my code is:

{cache-block ignore_content_expiry}
          
          {section name=article loop=fetch('content','list', hash(parent_node_id,169))}
          <a href={$article:item.url_alias|ezurl()}>{$article:item.object.name}</a><br/>
          {/section}
{/cache-block}

when a new node is published , the cache-block expired so the list is updated.
thanks in advance.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Thursday 07 August 2008 3:09:33 am

You are running 4.0 or 3.10 ?
I think there was a bug introduced in one or both of them, and it should be fixed in the 4.0.1rc2/3.10.1rc2 version.

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

justin kazadi

Thursday 07 August 2008 3:15:27 am

thanks again André R for your answer.i am using ez 4.0.
i try to make it run since 4 hours.

The theory is when we know everything and nothing works.
The practice is when everything works and nobody knows why.
If the practice and theory are met, nothing works and we do not know why.

Albert Einstein

André R.

Thursday 07 August 2008 3:48:47 am

http://issues.ez.no/IssueView.php?Id=12175&ProjectId=3&Anchor=Comment256663

It's a 4.0.0 issue, it is fixed in 4.0.1 (also in rc2)

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

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