[Zope] bug in ZSQL method result caching.

Jim Fulton jim.fulton@digicool.com
Tue, 09 Feb 1999 09:14:27 -0500


Anthony Baxter wrote:
> 
> a quick note: There appears to be a bug (for me, at least :) in the
> Result Caching in ZSQL Methods. If you set the cache time to non-zero,
> then you can no longer use the method. It _appears_ that this is caused
> by the code on line 400 of lib/python/Shared/DC/ZRDB/DA.py,
>     if self.cache_time_ > 0 and self.self.max_cache_ > 0:
> removing that duplicate 'self.' makes it work again...
> 
> (usual disclaimers: works for me, ymmv)

Thanks.

This'll be in the next release (after 1.10p1).

Jim

--
Jim Fulton           mailto:jim@digicool.com
Technical Director   (888) 344-4332              Python Powered!
Digital Creations    http://www.digicool.com     http://www.python.org

Under US Code Title 47, Sec.227(b)(1)(C), Sec.227(a)(2)(B) This email
address may not be added to any commercial mail list with out my
permission.  Violation of my privacy with advertising or SPAM will
result in a suit for a MINIMUM of $500 damages/incident, $1500 for
repeats.