This is an automated email from the ASF dual-hosted git repository.
hugoferreira pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 89dd4d80d7 Notify SimpleRemoteObject when the connection is unavailable
89dd4d80d7 is described below
commit 89dd4d80d701f15cf0a9237a47e598e6014d206b
Author: Hugo Ferreira <[email protected]>
AuthorDate: Fri Mar 10 00:01:11 2023 +0000
Notify SimpleRemoteObject when the connection is unavailable
When there was a call from SimpleRemoteObject to and endpoint, it would
give an error because the endpoint is unavailable, the SimpleRemoteObject
object was not notified about that.
This is important so that errors can be handled in service calls when the
endpoint is down.
---
.../src/main/royale/org/apache/royale/net/remoting/SimpleOperation.as | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git
a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/SimpleOperation.as
b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/SimpleOperation.as
index 984179569d..5577ea9118 100755
---
a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/SimpleOperation.as
+++
b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/SimpleOperation.as
@@ -80,7 +80,8 @@ package org.apache.royale.net.remoting
private function destinationFaultHandler(param:Object):void
{
- trace("destination fault handler", param);
+ trace("destination fault handler", param);
+ _ro.faultHandler(param);
}
}
}