Hi,
i've recently updated to RC3, am using the latest swc and have come across an issue relating to ObjectMessageRequest and the SmartFox send method.
It only occurs when i add an array of recipients to the request (my array only contains one recipient, so i'm not sure if this also occurs with multiple recipients) and when i try to send the message i get this error,
Exception fault: TypeError: Error #1034: Type Coercion failed: cannot convert 1682 to de.polygonal.ds.Hashable.
at de.polygonal.ds::HashSet/set()
at com.smartfoxserver.v2.requests::GenericMessageRequest/executeObjectMessage()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/requests/GenericMessageRequest.as:300]
at com.smartfoxserver.v2.requests::GenericMessageRequest/execute()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/requests/GenericMessageRequest.as:127]
at com.smartfoxserver.v2::SmartFox/send()[/Users/Paolo/gotoAndPlay/gotoAndPlay/SmartFoxServer2X/API/AS3/src/com/smartfoxserver/v2/SmartFox.as:1620]
1682 is the id of the user that is being sent as the recipient.
This code has been working for months and has not been touched, so the issue was definitely introduced with the RC3 update.
Cheers,
James
ObjectMessageRequest bug
Please check this post: http://forums.smartfoxserver.com/viewtopic.php?t=11741
Paolo Bax
The SmartFoxServer Team
The SmartFoxServer Team