[ZODB-Dev] Shared/DC/ZRDB/TM.py:_register

2008-05-13 Thread Vincent Pelletier
Hi. _register method of TM class in Shared/DC/ZRDB/TM.py hides all exceptions. This makes descendants of this class prone to get stuck in a registered state withtout any possibility of them to get commited. To reproduce the problem: - create a class inheriting from TM, and define a method

Re: [ZODB-Dev] Shared/DC/ZRDB/TM.py:_register

2008-05-13 Thread Andreas Jung
--On 13. Mai 2008 10:36:48 +0200 Vincent Pelletier [EMAIL PROTECTED] wrote: Hi. _register method of TM class in Shared/DC/ZRDB/TM.py hides all exceptions. This makes descendants of this class prone to get stuck in a registered state withtout any possibility of them to get commited. To

Re: [ZODB-Dev] Shared/DC/ZRDB/TM.py:_register

2008-05-13 Thread Dieter Maurer
Vincent Pelletier wrote at 2008-5-13 10:36 +0200: ... To reproduce the problem: - create a class inheriting from TM, and define a method calling register. Add logs to abort and commit method to track transaction end. - create a default error page which triggers a call to the method created

Re: [ZODB-Dev] Shared/DC/ZRDB/TM.py:_register

2008-05-13 Thread Andreas Jung
--On 13. Mai 2008 20:08:15 +0200 Dieter Maurer [EMAIL PROTECTED] wrote: Andreas Jung wrote at 2008-5-13 10:44 +0200: ... Is there any reason why TM._register is hiding exceptions ? Isn't the right approach for integrating a module with ZODB transactions using a ZODB DataManager?

Re: [ZODB-Dev] Shared/DC/ZRDB/TM.py:_register

2008-05-13 Thread Dieter Maurer
Andreas Jung wrote at 2008-5-13 20:19 +0200: ... Shared.DC.ZRDB.TM.TM is the standard Zope[2] way to implement a ZODB DataManager. Nowadays you create a datamanager implementing IDataManager and join it with the current transaction. Shared.DC.ZRDB.TM.TM is pretty much old-old-old-style.

Re: [ZODB-Dev] ZODB 3.8.1b2 available and persistent caches

2008-05-13 Thread David Pratt
Hi Jim. Any chance of incorporating Shane's patch for relstorage for this release? Many thanks. Regards, David Jim Fulton wrote: Lately, we've started to use persistent caches. As we've done so, we've found and fixed a number of problems. I'm planning to make a 3.8.1 release soon. Jim

Re: [ZODB-Dev] ZODB 3.8.1b2 available and persistent caches

2008-05-13 Thread Jim Fulton
On May 13, 2008, at 4:44 PM, David Pratt wrote: Hi Jim. Any chance of incorporating Shane's patch for relstorage for this release? Many thanks. No. This is a bug fix release. Jim -- Jim Fulton Zope Corporation ___ For more information about