You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flex.apache.org by "Justin Mclean (JIRA)" <ji...@apache.org> on 2013/04/24 01:11:15 UTC

[jira] [Updated] (FLEX-15903) Error #1006: value is not a function in ListCollectionView.getFilteredItemIndex()

     [ https://issues.apache.org/jira/browse/FLEX-15903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Justin Mclean updated FLEX-15903:
---------------------------------

    Labels: easyfix easytest  (was: )
    
> Error #1006: value is not a function in ListCollectionView.getFilteredItemIndex()
> ---------------------------------------------------------------------------------
>
>                 Key: FLEX-15903
>                 URL: https://issues.apache.org/jira/browse/FLEX-15903
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: mx: List
>    Affects Versions: Adobe Flex SDK 3.1 (Release)
>         Environment: Affected OS(s): Windows
> Affected OS(s): 
> Browser: Internet Explorer 7.x
> Language Found: English
>            Reporter: Adobe JIRA
>              Labels: easyfix, easytest
>
> Steps to reproduce:
> 1. On an ArrayCollection (with no sort or filter), do cursor.insert( item )
>  
>  Actual Results:
>  
> Error #1006: value is not a function on line 564 of file ListCollectionView.as
> This line is:
>       if (filterFunction(prevItem)) 
> and my filterFunction variable is set to null.
> But this function is called from ListCollectionView.addItemsToView(), from the condition: 
>       if (filterFunction == null || filterFunction(item))
> I could enter here because my filterFunction is null, but after it's read as a function.
>  
>  Expected Results:
>  
>  
>  Workaround (if any):

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira