You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@royale.apache.org by GitBox <gi...@apache.org> on 2020/01/07 01:13:53 UTC

[GitHub] [royale-asjs] aharui commented on issue #654: TypeError: Cannot read property 'length' of null (dbzUtil)

aharui commented on issue #654: TypeError: Cannot read property 'length' of null (dbzUtil)
URL: https://github.com/apache/royale-asjs/issues/654#issuecomment-571387839
 
 
   PickList.mxml appears to have two ways of setting the dataProvider.  One is in the handleResult which looks correct, the other is in the mx:AdvancedDataGrid tag where it binds to arrDGDataProvider which appears to be incorrect as handleResult is expecting an ArrayCollection of ArrayCollections.
   
   ```
   dataProvider="{arrDGDataProvider}"
   ```
   
   This causes the labelFunction to throw the exception as it is getting an ArrayCollection instead of the list of items.

----------------------------------------------------------------
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:
users@infra.apache.org


With regards,
Apache Git Services