Opened 18 years ago
Last modified 18 years ago
#390 closed defect
ticket.update returns a failure to get the ticket — at Initial Version
Reported by: | Owned by: | Alec Thomas | |
---|---|---|---|
Priority: | normal | Component: | XmlRpcPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.9 |
Description
server.ticket.update(41, u'Actualizacion automatica', attrs) Traceback (most recent call last):
File "<input>", line 1, in ? File "C:\Python24\lib\xmlrpclib.py", line 1096, in call
return self.send(self.name, args)
File "C:\Python24\lib\xmlrpclib.py", line 1383, in request
verbose=self.verbose
File "C:\Python24\lib\xmlrpclib.py", line 1147, in request
return self._parse_response(h.getfile(), sock)
File "C:\Python24\lib\xmlrpclib.py", line 1286, in _parse_response
return u.close()
File "C:\Python24\lib\xmlrpclib.py", line 744, in close
raise Fault(self._stack[0])
Fault: <Fault 2: "TicketRPC' object has no attribute 'getTicket while executing 'ticket.update()'">
The code is wrong and referring a method that does not exist. Attached is a patch to correct the line.
Patch to resolve the problem