[Zope-Checkins] CVS: Zope/doc - CHANGES.txt:1.534

Casey Duncan casey@zope.com
Fri, 30 Aug 2002 14:30:28 -0400


Update of /cvs-repository/Zope/doc
In directory cvs.zope.org:/tmp/cvs-serv28127/doc

Modified Files:
	CHANGES.txt 
Log Message:
Refactored error message handling so that SimpleItem's raise_standardErrorMessage sniffs the response to see if it wants an html encoded error message or not.

If so, then standard_error_message is rendered as usual as the error value. Otherwise the error value text is passed through unchanged.

XML-RPC responses now request text/plain error format so that standard_error_message is not envoked to render the fault string. Because of this, the previous formatting code could be removed, although html tags are still stripped because error values themselves sometimes contain tags 8^/


=== Zope/doc/CHANGES.txt 1.533 => 1.534 ===
--- Zope/doc/CHANGES.txt:1.533	Thu Aug 29 15:35:00 2002
+++ Zope/doc/CHANGES.txt	Fri Aug 30 14:29:55 2002
@@ -5,6 +5,11 @@
   file HISTORY.txt.
 
     Bugs Fixed
+    
+      - Collector #550: Exceptions in XML-RPC requests no longer envoke
+        standard_error_message. Plain text error messages are instead added to
+        the fault string. In debug mode, a full traceback is also included
+        since access to the error log is not a given for XML-RPC developers.
 
       - Collector #512,541: Fixed broken WebDAV compatiblity
         with Cadaver 0.20.X due to a missing Lock-Token header.