Re: [Zope3-dev] Possible bug in zope.app.cache.ram
On Wednesday 07 March 2007 19:49, Shaar Gabriel wrote: i think i found a bug in zope.app.cache.ram Could you file a bug report in the collector please? Regards, Stephan -- Stephan Richter CBU Physics Chemistry (B.S.) / Tufts Physics (Ph.D. student) Web2k - Web Software Design, Development and Training ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com
[Zope3-dev] Possible bug in zope.app.cache.ram
hi. i think i found a bug in zope.app.cache.ram if an entry is added to the cache without having a miss first (for example to cache in advance some long calculation that is going to be looked up in the near furutre anyway), then the miss counter for that object doesn't exist, and getStaistics in ram.py raises a KeyError, which causes the statistics browser view for the ram cache to fail. ___ Zope3-dev mailing list Zope3-dev@zope.org Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com