From lucafbb at gmail.com Fri Nov 7 16:51:07 2008 From: lucafbb at gmail.com (Luca) Date: Fri, 7 Nov 2008 16:51:07 +0100 Subject: [kupu-dev] kupu cache old resolvuid results? Message-ID: <27308d500811070751w1739c1ael45335f3023e66272@mail.gmail.com> 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? -- -- luca From duncan.booth at suttoncourtenay.org.uk Mon Nov 10 15:51:18 2008 From: duncan.booth at suttoncourtenay.org.uk (Duncan Booth) Date: Mon, 10 Nov 2008 14:51:18 +0000 (UTC) Subject: [kupu-dev] kupu cache old resolvuid results? References: <27308d500811070751w1739c1ael45335f3023e66272@mail.gmail.com> Message-ID: Luca 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). From lucafbb at gmail.com Mon Nov 10 16:20:58 2008 From: lucafbb at gmail.com (Luca) Date: Mon, 10 Nov 2008 16:20:58 +0100 Subject: [kupu-dev] kupu cache old resolvuid results? In-Reply-To: References: <27308d500811070751w1739c1ael45335f3023e66272@mail.gmail.com> Message-ID: <27308d500811100720y23be7228l13dc3d788d01e71f@mail.gmail.com> Thanks you Duncan, this info is enough! Bye On Mon, Nov 10, 2008 at 3:51 PM, Duncan Booth wrote: > Luca 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). > > > _______________________________________________ > kupu-dev mailing list > kupu-dev at codespeak.net > http://codespeak.net/mailman/listinfo/kupu-dev > -- -- luca