[Zope-dev] ZODB thread safety issue.

2002-03-10 Thread Romain Slootmaekers
Yo, I read on the doc's : A key feature of Zope 2 (ZODB 3) is that (a copy of) a persistent object is never accessed by more than one thread (unless the programmer goes way out of thier way). Each thread uses it's own database connection(s). Each connection has it's own copies of persistent

[Zope-dev] Usage of try: .. except: .. in zope

2002-03-10 Thread Ivo van der Wijk
Hi All, I'm currently implementing a QuotaFolder for Zope, i.e. a Folder that restricts the number of objects, their sizes and their total size (and in the future: the installabe meta types). Things look very promising (if anyone feels like testing, please mail me), but it took me quite a

Re: SV: [Zope-dev] Small Alert - Temp Solution - more...

2002-03-10 Thread Jean-Paul Smets
Le Samedi 9 Mars 2002 23:04, Dieter Maurer a écrit : Jean-Paul Smets writes: ... TCPWatch dumps demonstrating cookie problem for __ac cookie ... When I read the dumps correct then *ALL* Apache + __ac dumps lack the __ac cookie whether or nor VHM is used. Thus, I would say, VHM is out of

Re: [Zope-dev] ZODB thread safety issue.

2002-03-10 Thread Dieter Maurer
Romain Slootmaekers writes: Is there a way we can share the access to the objects, or do we have to create a global lock ? And if we have to create a global lock, what's the desired/standard approach in doing so. You may have a look at SharedResource at

Re: [Zope-dev] Usage of try: .. except: .. in zope

2002-03-10 Thread Dieter Maurer
Ivo van der Wijk writes: ... It this Exception-type-less try/except construct used elsewhere in Zope (I think I've seen it before)? Yes, unfortunately. Should I put a request in the collector? Yes, please. Dieter ___ Zope-Dev maillist -

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-10 Thread Dieter Maurer
Chris McDonough writes: ... HelpSystem problems ... It then proceeds to do writes to the database when it appears that all you're doing is reading a pre-existing page. What does it write to the database? I do not see a reason for this behaviour... Dieter

Re: [Zope-dev] Unauthorized users can writelock helpfiles in /Control_Panel/Products

2002-03-10 Thread Chris McDonough
Chris McDonough writes: ... HelpSystem problems ... It then proceeds to do writes to the database when it appears that all you're doing is reading a pre-existing page. What does it write to the database? I do not see a reason for this behaviour... I don't know. IMHO, there is no

Re: [Zope-dev] Error removing NT Service

2002-03-10 Thread Adrian Hungate
Two points about deleting services (Well one really, just looked at from two angles): 1) Services must have fully stopped before you delete them, or they get marked for deletion on the next reboot (Good, solid server software: expecting frequent reboots!) 2) The service must have had all the SCM

Re: [Zope-dev] RFC : AnyScripts

2002-03-10 Thread Adrian Hungate
This sounds like a security acident waiting to happen. I wouldn't want to be the one to have to ensure there were no security holes in the surrounding code that might allow the script to get rewritten. Adrian... -- The difficulty of tactical maneuvering consists in turning the devious into the

[Zope-dev] The future of ZPatterns and LoginManager

2002-03-10 Thread Johan Carlsson [Torped]
Hi everybody, (I did ask this question to the ZPatterns list, but without any answer. So I hope one better luck here.) I finally got the opportunity to use ZPatterns in a project and am quite please with the result (after the mandatory wrestling :) Anyway, I would like to use both ZPatterns