Ticket #296 (new defect)

Opened 7 months ago

Last modified 6 months ago

Unknown Command operation 1 (UNSUBSCRIBE_OPERATION)

Reported by: thijs Owned by: nick
Priority: major Milestone: Flex Messaging
Component: Remoting Version: 0.3.1
Keywords: Cc:

Description (last modified by thijs) (diff)

While testing with the attached swf and the fds branch I received this error:

Traceback (most recent call last):
File "/pyamf/branches/fds/pyamf/remoting/amf3.py", line 161, in __call__\n    return self._getBody(amf_request, ro_request, **kwargs)\n', '  
File "/pyamf/branches/fds/pyamf/remoting/amf3.py", line 97, in _getBody\n    return self._processCommandMessage(amf_request, ro_request, **kwargs)\n', '  
File "/pyamf/branches/fds/pyamf/remoting/amf3.py", line 123, in _processCommandMessage\n    
raise ServerCallFailed, "Unknown Command operation %s" % ro_request.operation\n', 
'ServerCallFailed: Unknown Command operation 1

Hacked fix in _processCommandMessage:

       elif ro_request.operation == CommandMessage.UNSUBSCRIBE_OPERATION:
            return remoting.Response(ro_response)

Attachments

sample.swf (236.9 KB) - added by thijs 7 months ago.
press send btn to trigger error/unsubscribe in this sample swf

Change History

Changed 7 months ago by thijs

press send btn to trigger error/unsubscribe in this sample swf

Changed 6 months ago by thijs

  • description modified (diff)
  • summary changed from Unknown Command operation 1 to Unknown Command operation 1 (UNSUBSCRIBE_OPERATION)

Changed 6 months ago by thijs

  • milestone changed from 0.3.2 to Flex Messaging
Note: See TracTickets for help on using tickets.