Hi all,
I'm having a problem with acquitision when using Workflow Scripts. I
was wondering if it was me or zope.. what I've done is set a property
SafeHouseBase on a folder that (somewhere below it) has a document that
i'm processing with a script when changing state. What I expect is when
i call
state_change.object.getProperty('SafeHouseBase, None)
is that acquisition will find and return a property defined on a
folder above it in the hierarchy. What i get is None, of course.. but
if i do a 'brute force', that is, something like,
state_change.object.aq_parent.getProperty().... it WILL find it. So is
acquistion broken, or my poor mind? Is there a namespace issue here?
Any help would restore my faith in puppies, rainbows, and public
sanitation projects. Thanks,
james.
|