[Zope3-checkins] CVS: Zope3/src/zope/app/browser/component/tests - test_interfacewidget.py:1.13
Jim Fulton
jim@zope.com
Thu, 9 Jan 2003 09:13:35 -0500
Update of /cvs-repository/Zope3/src/zope/app/browser/component/tests
In directory cvs.zope.org:/tmp/cvs-serv14386/src/zope/app/browser/component/tests
Modified Files:
test_interfacewidget.py
Log Message:
- Got rid of (essentially) unused validateMapping, validateMappingAll,
ValidationErrorsAll and ConversionErrorsAll.
- Renamed zope.app.interfaces.forms to zope.app.interfaces.form
- Changed the way form input errors are handled. Now, *only*
validation errors and widget input errors are caught and displayed
on forms. These errors are about data entry problems. For these, it
never makes sense to show a traceback.
For Python programming errors, we want tracebacks, so it's important
to handle them differently, but letting the propigate and get logged
by the error reporting service.
This required updating the widget code to be more careful about
errors raised.
=== Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py 1.12 => 1.13 ===
--- Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py:1.12 Thu Jan 9 07:58:54 2003
+++ Zope3/src/zope/app/browser/component/tests/test_interfacewidget.py Thu Jan 9 09:13:02 2003
@@ -28,7 +28,7 @@
from zope.app.browser.component.interfacewidget import MultiInterfaceWidget
from zope.publisher.browser import TestRequest
from zope.component.service import serviceManager, defineService
-from zope.app.interfaces.forms import ConversionError
+from zope.app.interfaces.form import ConversionError
class I(Interface):
"""bah blah