[Zope-dev] zpatterns: rackmountables must be of-wrapped
Jephte CLAIN
minf7@educ.univ-reunion.fr
Wed, 24 May 2000 17:33:29 +0400
Hello,
I believe items got from a rack have to be wrapped in context of the
rack. I've been bitten by this (and it hurts!). When I try to use items
from DTML, only the superuser can use it, even managers can't access the
objects. When I wrap the items in the context of the rack, everything is
fine.
So: retrieveItem, createItem use vanilla objects
getItem, newItem wrap objects before returning them
regards,
jephte clain
minf7@educ.univ-reunion.fr