[Zope3-checkins]
SVN: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/
Merged r26649 from trunk.
Garrett Smith
garrett at mojave-corp.com
Wed Jul 21 09:43:59 EDT 2004
Log message for revision 26650:
Merged r26649 from trunk.
Changed:
U Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/editview.py
A Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/ftests/test_editview.py
-=-
Modified: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/editview.py
===================================================================
--- Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/editview.py 2004-07-21 13:41:04 UTC (rev 26649)
+++ Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/editview.py 2004-07-21 13:43:59 UTC (rev 26650)
@@ -16,6 +16,7 @@
$Id$
"""
from datetime import datetime
+from transaction import get_transaction
from zope.schema import getFieldNamesInOrder
from zope.publisher.interfaces.browser import IBrowserRequest
@@ -103,6 +104,7 @@
except WidgetsError, errors:
self.errors = errors
status = _("An error occured.")
+ get_transaction().abort()
else:
setUpEditWidgets(self, self.schema, source=self.adapted,
ignoreStickyValues=True,
Copied: Zope3/branches/ZopeX3-3.0/src/zope/app/form/browser/ftests/test_editview.py (from rev 26649, Zope3/trunk/src/zope/app/form/browser/ftests/test_editview.py)
More information about the Zope3-Checkins
mailing list