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

Phillip J. Eby pje@telecommunity.com
Mon, 19 Jun 2000 10:51:23 -0500


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've got a bug somewhere deeper that needs fixing.  But
getItem isn't the place it's broken, as _RawItem is responsible for
ensuring the datamanager invariants (skin points to _v_dm_ and has its
canonical form registered).