Re: [Modeling-users] patch that makes saveChanges optional on session destruction in zope
Status: Abandoned
Brought to you by:
sbigaret
From: Sebastien B. <sbi...@us...> - 2004-06-20 15:40:29
|
Hi John & all, John Lenton <jo...@vi...> wrote: > This patch adds a boolean property to the ZEditingContextSessioning > zope product that controls whether saveChanges is called upon session > destruction. Defaults to true (i.e., do saveChanges). >=20 > It's a very simple patch, but it does what we needed (building a web > application that needs to ensure atomicity of a complex object that is > created in multiple stages). Thanks for the patch, it will be integrated into the next release. Before releasing we'll need to update the documentation at ZECSessioning/README and MDL/doc/UserGuide/FrameworkTypicalUsage.tex. Email me privately if by any chance you think you could find some time for this this week. > On the same front, we *might* be building a (very stupid) application > server---rather a Modeling server---for this, to enable simple > creation of multiple complex-object-that-is-created-in-multiple-stages. > I prototyped a readonly version in a night, and I think they liked > it :) That would be great --a "very stupid" application would definitely be better than no sample code at all ;) -- S=E9bastien. |