Re: [Zope-dev] Yet another bug. (Re: [Zope-dev] Bug?)

2000-06-20 Thread Phillip J. Eby
At 08:45 PM 6/19/00 +0800, mike wrote: >It looks like retrieved items have no _v_dm_ set. I fixed it (not sure >this is right) with: > >File: Rack.py > >def getItem(self, key): >"""Get an item from the rack by key""" > ># Borrow canonicals map for per-transaction item c

Re: [Zope-dev] Yet another bug. (Re: [Zope-dev] Bug?)

2000-06-19 Thread mike
"Phillip J. Eby" wrote: > > At 08:45 PM 6/19/00 +0800, mike wrote: > >It looks like retrieved items have no _v_dm_ set. I fixed it (not sure > >this is right) with: > > > > Um, check to make sure you're using _RawItem, not _v_itemConstructor, in > your retrieveItem method, if you're using a subc

Re: [Zope-dev] Yet another bug. (Re: [Zope-dev] Bug?)

2000-06-19 Thread Phillip J. Eby
At 08:45 PM 6/19/00 +0800, mike wrote: >It looks like retrieved items have no _v_dm_ set. I fixed it (not sure >this is right) with: > Um, check to make sure you're using _RawItem, not _v_itemConstructor, in your retrieveItem method, if you're using a subclass. If you are using _RawItem, then I'

[Zope-dev] Yet another bug. (Re: [Zope-dev] Bug?)

2000-06-19 Thread mike
It looks like retrieved items have no _v_dm_ set. I fixed it (not sure this is right) with: File: Rack.py def getItem(self, key): """Get an item from the rack by key""" # Borrow canonicals map for per-transaction item cache k = key, item = self._canon