[kupu-dev] kupu cache old resolvuid results?

Duncan Booth duncan.booth at suttoncourtenay.org.uk
Mon Nov 10 15:51:18 CET 2008


Luca <lucafbb at gmail.com> wrote:

> Hi all.
> 
> A strange behaviour using an old Plone 2.5 plone site with the latest
> kupu release, but also on a plone 3.1 portal.
> 
>  * I create "document-a"
>  * I create "document-b" and in the body i link with kupu the
> document-a. In view I see the transformed link (not resolveuid ones)
>  * I rename "document-a" to "document-a1".
>  * I go back to document b but the link is again on an unexistent
>  document-a. 
> 
> I have no cacheFu installed, not apache that cache and I also try to
> empty cache.
> On the plone3 site I see the old link (on hover on it, in the status
> bar of the browser) but when I click on it I am redirected to the
> right document-a1.
> 
> On plone 2.5 I get the normal "page not found" error. If I enter the
> document-b and save it, the link gets fixed.
> 
> Where this info is cached? How can I control it?
> 

It is in portal_transforms. You can set the timeout for the cache (by 
default it is 1 hour). Unfortunately I don't think there is any easy way to  
make the cache invalidate when a related object is edited (rather than the 
original).




More information about the kupu-dev mailing list