aharui commented on issue #448: Assigning ArrayCollection to ADG.dataProvider
URL: https://github.com/apache/royale-asjs/issues/448#issuecomment-525127310
 
 
   What matters is what e.result is in your actual application.  The original 
Flex code appears to be expecting an Array containing either an Array or 
ArrayCollection containing other ArrayCollections.  Use the Flex debugger or 
ObjectUtil to determine what actually arrived in your Flex app, then use the 
Royale debugger or ObjectUtil to see what is arriving in Royale.  It is 
possible that the problem is in the decoding of the data structure by 
RemoteObject/AMF.
   
   But if the structures are the same, then the next step is to debug the 
Royale version of the Flex code to see where it is going wrong.  I suspect that 
one of the sub-expressions is an ArrayCollection and it isn't strongly-typed so 
the compiler does not generate the right code.
   
   The example you posted is probably not creating the same sort of data 
structure.  It creates an Array containing an Array of Strings so it isn't a 
valid test of your actual application code.
   
   I can't tell anything from the video.
   
    

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to