|Anonymous | Login | Signup for a new account||05-28-2023 03:49 PDT|
|Main | My View | View Issues | Change Log | Docs|
|Viewing Issue Simple Details [ Jump to Notes ]||[ View Advanced ] [ Issue History ] [ Print ]|
|ID||Category||Severity||Reproducibility||Date Submitted||Last Update|
|0002572||[Hessian]||feature||always||04-04-08 07:30||07-11-08 09:06|
|Summary||0002572: Hessian/Flex: hessian.client.HessianMessage never sets its messageId|
I've been adding some debug/logging to my application to track messages sent and received, but it's hard to line them up because HessianMessage never sets a unique messageId (it's always null).
If HessianMessage just extended mx.messaging.message.AbstractMessage instead of implementing IMessage, it would pick up the code that sets the Id. In fact, the whole class would just boil down to this:
internal class HessianMessage extends AbstractMessage
public function HessianMessage(body:Object, destination:String)
this.body = body;
this.destination = destination;
I've been running my app with this change (using Flex 2.0.1) and it seems to work ok.
See http://opensource.adobe.com/svn/opensource/flex/sdk/tags/188.8.131.527/frameworks/projects/rpc/src/mx/messaging/messages/AbstractMessage.as [^]
Notice that that "function get messageId()" assigns a uuid to the messageId if none was set before.
|There are no notes attached to this issue.|
|04-04-08 07:30||bdespres||New Issue|
|07-11-08 09:06||emil||Status||new => closed|
|07-11-08 09:06||emil||Resolution||open => fixed|
|07-11-08 09:06||emil||Fixed in Version||=> 3.1.6|
| Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed.|
25 unique queries executed.