ObjectMessageRequest bug

Post here your questions about the Flash / Flex / Air API for SFS2X

Moderators: Lapo, Bax

Post Reply
jamesr
Posts: 104
Joined: 14 Oct 2010, 14:56

ObjectMessageRequest bug

Post by jamesr »

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
User avatar
Bax
Site Admin
Posts: 4626
Joined: 29 Mar 2005, 09:50
Location: Italy
Contact:

Post by Bax »

Paolo Bax
The SmartFoxServer Team
jamesr
Posts: 104
Joined: 14 Oct 2010, 14:56

Post by jamesr »

Thanks Bax.

Would it be possible for you to please start sending emails if you have important updates like this, rather than your users having to wait to either find the bug themselves, or alternatively, visit your forum everyday just in case an update has been released.

Cheers,

James
Post Reply