[Zope3-checkins] CVS: Zope3/src/zope/app/interfaces/browser - form.py:1.4

Jim Fulton jim@zope.com
Thu, 9 Jan 2003 09:13:47 -0500


Update of /cvs-repository/Zope3/src/zope/app/interfaces/browser
In directory cvs.zope.org:/tmp/cvs-serv14386/src/zope/app/interfaces/browser

Modified Files:
	form.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/interfaces/browser/form.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/interfaces/browser/form.py:1.3	Mon Jan  6 09:36:08 2003
+++ Zope3/src/zope/app/interfaces/browser/form.py	Thu Jan  9 09:13:14 2003
@@ -16,7 +16,7 @@
 """
 from zope.interface import Interface, Attribute
 from zope.publisher.interfaces.browser import IBrowserView
-from zope.app.interfaces.forms import IWidget
+from zope.app.interfaces.form import IWidget
 
 
 class IReadForm(IBrowserView):