You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by gr...@apache.org on 2020/04/17 22:49:52 UTC

[royale-asjs] 01/03: minor: Consistency with flash for amf deserialization: the local resolved className should be reported here, not the alias that was received.

This is an automated email from the ASF dual-hosted git repository.

gregdove pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 0dd8dea02fa57027ae8a3de24cd63e932c06e8ad
Author: greg-dove <gr...@gmail.com>
AuthorDate: Sat Apr 18 10:41:15 2020 +1200

    minor: Consistency with flash for amf deserialization: the local resolved className should be reported here, not the alias that was received.
---
 .../src/main/royale/org/apache/royale/net/remoting/amf/AMFBinaryData.as | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFBinaryData.as b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFBinaryData.as
index d9fe43c..3eb6955 100644
--- a/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFBinaryData.as
+++ b/frameworks/projects/Network/src/main/royale/org/apache/royale/net/remoting/amf/AMFBinaryData.as
@@ -1111,7 +1111,7 @@ class SerializationContext extends BinaryData  implements IDataInput, IDataOutpu
 						} else {
 							//@todo add debug-only logging for error checks (e.g. ReferenceError: Error #1074: Illegal write to read-only property)
 							if (goog.DEBUG) {
-								trace('ReferenceError: Error #1056: Cannot create property ' + prop + ' on ' + decodedTraits.alias);
+								trace('ReferenceError: Error #1056: Cannot create property ' + prop + ' on ' + localTraits.qName);
 							}
 						}
 					}