[Zope-dev] unregistering products

2003-09-22 Thread alan milligan
Hi, We have a relatively common situation whereby we will create our own product by deriving off an existing Zope product. However, the original product is still available through Products.meta_types and the factory construction mechanism. This is a pain as then users must be careful as to wh

Re: [Zope-dev] Re: 2.7.0-b2 - Critical ZPT TAL bug when using content-type text/xml

2003-09-22 Thread Richard Waid
Evan Simpson wrote: Until cAccessControl.c is fixed, you can work around the problem with a simple patch to Products/PageTemplates/Expressions.py, in restrictedTraverse(): if isinstance(name, TupleType): object = object(*name) continue + + name = str

[Zope-dev] Re: Zope-Dev Digest, Vol 2, Issue 20

2003-09-22 Thread Jeremy Hylton
Zope 2.6.2, Zeo 2.0.1b1 and python 2.2.3 >I'm trying to get this combo working (I know its not officially > supported). It works fine except for when a second client updates zeo > the changes aren't seen from the first client (until its restarted). I > ran the zeo tests with 2.2.3 and they

Re: [Zope-dev] Zope 2.6.2, Zeo 2.0.1b1 and python 2.2.3

2003-09-22 Thread Paul Winkler
On Mon, Sep 22, 2003 at 09:48:13AM -0400, Erik A.Dahl wrote: > I'm trying to get this combo working (I know its not officially > supported). It works fine except for when a second client updates zeo > the changes aren't seen from the first client (until its restarted). I > ran the zeo tests wi

[Zope-dev] Re: 2.7.0-b2 - Critical ZPT TAL bug when using content-type text/xml

2003-09-22 Thread Evan Simpson
Until cAccessControl.c is fixed, you can work around the problem with a simple patch to Products/PageTemplates/Expressions.py, in restrictedTraverse(): if isinstance(name, TupleType): object = object(*name) continue + + name = str(name) if

[Zope-dev] Re: 2.7.0-b2 - Critical ZPT TAL bug when using content-type text/xml

2003-09-22 Thread Evan Simpson
Richard Waid wrote: Basically, if you're using a ZPT with a content-type text/xml, using a TAL path expression to access an attribute or method causes a security violation (Unauthorized). It does not happen if the ZPT is using content-type text/html. Ah, guarded_getattr is doing something wrong

[Zope-dev] Zope 2.6.2, Zeo 2.0.1b1 and python 2.2.3

2003-09-22 Thread Erik A . Dahl
I'm trying to get this combo working (I know its not officially supported). It works fine except for when a second client updates zeo the changes aren't seen from the first client (until its restarted). I ran the zeo tests with 2.2.3 and they all pass. Zope 2.6.2 seems to work fine even with

Re: [Zope-dev] PCGI-Problem

2003-09-22 Thread Andre Schubert
On Sun, 21 Sep 2003 16:13:55 -0400 Casey Duncan <[EMAIL PROTECTED]> wrote: > On Friday 19 September 2003 04:31 am, Andre Schubert wrote: > > On Thu, 18 Sep 2003 14:32:52 +0200 > > Andre Schubert <[EMAIL PROTECTED]> wrote: > > > > > Hi all, > > > > > > i have a little problem. > > > We have sever