[Zope-CMF] Re: [Zope-dev] _p_deactivate() and _v_ variables?

Leonardo Rochael Almeida leo at hiper.com.br
Fri Oct 10 15:40:15 EDT 2003


On Fri, 2003-10-10 at 14:34, Dieter Maurer wrote:
> If such a "_v_" attribute is flushed, the next access to the DA
> (in the same request) reopens the database. As this is a new
> connection, it does not see the changes made by the previous
> connection (in the same request).
> 
> This can lead to very nasty non-deterministic and almost ununderstandable
> errors.

Such as prematurely triggered integrity contraints that would be
satisfied by another operation before the end of the transaction.

Cheers, Leo

-- 
Ideas don't stay in some minds very long because they don't like
solitary confinement.




More information about the Zope-Dev mailing list