[Zope3-dev] Form framework, adapters and pau

Roger Ineichen dev at projekt01.ch
Tue Apr 5 15:48:45 EDT 2005


Hi Jim, Garrett and Dominik 

> -----Original Message-----
> From: zope3-dev-bounces+dev=projekt01.ch at zope.org 
> [mailto:zope3-dev-bounces+dev=projekt01.ch at zope.org] On 
> Behalf Of Garrett Smith
> Sent: Tuesday, April 05, 2005 7:22 PM
> To: jim at zope.com
> Cc: roger.ineichen at projekt01.ch; zope3-dev at zope.org; Dominik Huber
> Subject: RE: [Zope3-dev] Form framework, adapters and pau
> 
> Jim Fulton wrote:
> > Garrett Smith wrote:
> >> I don't understand the pushback against location proxying
> >> security-proxied objects. LocationProxy does actually play 
> well with
> >> security-proxied objects.
> > 
> > That was not our experience in the recent past.  I'll have 
> to document
> > the problems, assuming that I can reproduce them.
> 
> Are you referring to the problems Gary ran into when he modified the
> form setup machinery? I ran into the same problems in our application,
> which led to the mods to make LocationProxy work with security proxied
> objects.
> 
> > I wonder if it would make sense for the trusted adapter machinery to
> > simply set __parent__ on adapters if either the adapter provides
> > ILocation 
> > *or* the adapter doesn't already have a __parent__.  This 
> would solve
> > the problem and avoid the proxy.
> 
> Apart from the "works/doesn't work" issue (your previous 
> point), are you
> concerned that we'll see LocationProxy popping up whenever we need
> location-sensitive lookups? Would that be a bad thing?
> 
> I've found LocationProxy to be essential providing location-specific
> lookup capability in more than forms. E.g. I often location-proxy
> objects in events where handlers perform operations that want local
> authentication facilities.
> 
>  -- Garrett

1+

I think its the right solution since you fixed the location proxy
and security proxy problem.

Regards
Roger Ineichen

> _______________________________________________
> Zope3-dev mailing list
> Zope3-dev at zope.org
> Unsub: 
> http://mail.zope.org/mailman/options/zope3-dev/dev%40projekt01.ch
> 
> 



More information about the Zope3-dev mailing list