You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xmlrpc-dev@ws.apache.org by bu...@apache.org on 2003/03/16 05:56:11 UTC
DO NOT REPLY [Bug 18033] New: -
Not finding registered handlers
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18033>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=18033
Not finding registered handlers
Summary: Not finding registered handlers
Product: XML-RPC
Version: 1.2
Platform: All
OS/Version: All
Status: NEW
Severity: Critical
Priority: Other
Component: Source
AssignedTo: rpc-dev@xml.apache.org
ReportedBy: ron@roncemer.com
Version 1.2-b1 of xml-rpc, DefaultHandlerMapping.java, getHandler() method, has
a problem.
Existing code:
if (dot > -1)
{
// The last portion of the XML-RPC method name is the Java
// method name.
handlerName = methodName.substring(0, dot);
handler = handlers.get(handlerName);
}
Should read:
if (dot > -1)
{
// The last portion of the XML-RPC method name is the Java
// method name.
handlerName = methodName.substring(0, dot);
}
else
{
handlerName = methodName;
}
handler = handlers.get(handlerName);
Because of this bug, it's not finding properly registered handlers unless you
pass in a name containing at least one dot.
Please contact me via email when you've applied this patch and put up a new
download on the site.
Thanks!
Ron