Opened 3 years ago

#7896 defect new

Returning a Handler in a xmlrpc_* function inside XMLRPC breaks

Reported by: Einar Fløystad Dørum Owned by:
Priority: normal Milestone:
Component: web Keywords:
Cc: Branch:
Author:

Description

If you return a Handler class/subclass from one of the xmlrpc_* functions in a subclass of XMLRPC. The _cbRender function will pass the deferred from the Handler to the xmlrpclib.dumps function from the Python standard library.

The code should instead wait for the deferred to finish processing and pass the result of that to the xmlrpclib.dumps function.

A suggestion for a fix for this defect can be found in https://twistedmatrix.com/trac/ticket/7795 as the attachment xmlrpc_py3-handler-7.patch​​​ . But it is dependent on the changes in the 7759 ticket to be merged first.

Change History (0)

Note: See TracTickets for help on using tickets.