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

Dieter Maurer dieter at handshake.de
Fri Oct 10 13:43:57 EDT 2003


Casey Duncan wrote at 2003-10-10 09:26 -0400:
 > ...
 > IMO YAGNI. I think the application should tolerate the disappearance of 
 > _v_ vars. I would consider the problem with CMF skins a bug that needs 
 > to be fixed. AFAIK there is nothing stored in _v_skindata that cannot be 
 > reconstructed from data in the skins tool.

Please think about database connections which currently are maintained
in "_v_" attributes.

Reopening a connection in mid request can be desasterous as what
should be one transaction becomes two separate transactions (although
they are both committed or both aborted).


Dieter



More information about the Zope-CMF mailing list