limscoder / amfast

An Adobe AMF serialization and RPC implementation for Python, written as a C extension for speed.
MIT License
5 stars 6 forks source link

Message.convertFail doesn't set the target #82

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
PROBLEM:

Message.convertFail doesn't convert a success message into a failure message, 
because it doesn't set the target.

ENVIRONMENT:

Server: Twisted
ORM: SQLAlchemy

SOLUTION:

In 'amfast/remoting/__init__.py' Line 268 the line is:

self.target.replace(self.SUCCESS_TARGET, self.FAILED_TARGET)

It should read:

self.target = self.target.replace(self.SUCCESS_TARGET, self.FAILED_TARGET)

Original issue reported on code.google.com by brett.la...@brettlaforge.com on 29 Nov 2011 at 7:42

GoogleCodeExporter commented 9 years ago

Original comment by dthomp...@gmail.com on 3 Dec 2011 at 11:17