[ZCM] [ZC] 1175/ 1 Request "404 errors caused by xml-rpc calls are
masked"
Collector: Zope Bugs, Features,
and Patches ...
zope-coders-admin at zope.org
Sun Jan 11 19:43:41 EST 2004
Issue #1175 Update (Request) "404 errors caused by xml-rpc calls are masked"
Status Pending, Zope/bug+solution medium
To followup, visit:
http://collector.zope.org/Zope/1175
==============================================================
= Request - Entry #1 by netchan on Jan 11, 2004 7:43 pm
Uploaded: "Zope_lib_python_ZPublisher_xmlrpc_py.diff"
- http://collector.zope.org/Zope/1175/Zope_lib_python_ZPublisher_xmlrpc_py.diff/view
When trying to access a nonexistent object/method, lib/python/ZPublisher/xmlrpc.py sets the status code 200 and sends back a regular xml-rpc Fault, with the standard 'Cannot locate object' message in html format as the body of the Fault.
The attached patch solves the problem if the variable 't' in method 'exception' is a zException.NotFound. Additional check for t=='NotFound' might be necessarry.
==============================================================
More information about the Zope-Collector-Monitor
mailing list