[z3-five] using getToolByName in utility

yuppie y.2007- at wcm-solutions.de
Wed Jan 31 15:33:48 CET 2007


Dennis Schulz wrote:
> **No matter where I print context (all places that you suggested) , 
> aq_base(context) it is always the same, only my object without 
> acquisition chain:**
> 
> <PurchaseRequisition at 3>
> [<PurchaseRequisition at 3>]
> 
> 
> I am using the applychanges of alchemist and the alchmist bind method.
> Could this be the reason?

>     * Module ore.alchemist.bind, line 53, in __set__

__set__() is called with your object as argument. You have to figure out 
why that object is not acquisition wrapped. AFAICS your code only works 
if your object is wrapped in that place.

HTH, Yuppie



More information about the z3-five mailing list