flex-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mihai Chira (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FLEX-34775) Application hangs (in infinite loop) when opening a node inside a HierarchicalCollectionView whose parent is closed and then trying to navigate the collection
Date Tue, 03 Mar 2015 16:33:04 GMT

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

Mihai Chira updated FLEX-34775:
-------------------------------
    Description: 
*Pseudocode*:
{code}
            //given a HierarchicalCollectionView of the form: parent->child->child,
with no node open,

            //when
            _sut.openNode(location);

            var cursor:IViewCursor = _sut.createCursor();
            var i:int = 0;
            while(!cursor.afterLast && i++ < 100)
            {
                cursor.moveNext();
            }

            //then
            assertEquals(1, i);
            assertEquals(1, _sut.length);
{code}

*For code, see attachment, or HierarchicalCollectionView_FLEX_34775_Test.as in the develop
branch.

  was:
*Pseudocode*:
{code}
            //given a 
            //when
            _sut.openNode(location);

            var cursor:IViewCursor = _sut.createCursor();
            var i:int = 0;
            while(!cursor.afterLast && i++ < 100)
            {
                cursor.moveNext();
            }

            //then
            assertEquals(1, i);
            assertEquals(1, _sut.length);
{code}


> Application hangs (in infinite loop) when opening a node inside a HierarchicalCollectionView
whose parent is closed and then trying to navigate the collection
> --------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: FLEX-34775
>                 URL: https://issues.apache.org/jira/browse/FLEX-34775
>             Project: Apache Flex
>          Issue Type: Bug
>          Components: Advanced Data Grid
>    Affects Versions: Apache Flex 4.14.0
>            Reporter: Mihai Chira
>            Assignee: Mihai Chira
>         Attachments: HierarchicalCollectionView_FLEX_34775_Test.as
>
>
> *Pseudocode*:
> {code}
>             //given a HierarchicalCollectionView of the form: parent->child->child,
with no node open,
>             //when
>             _sut.openNode(location);
>             var cursor:IViewCursor = _sut.createCursor();
>             var i:int = 0;
>             while(!cursor.afterLast && i++ < 100)
>             {
>                 cursor.moveNext();
>             }
>             //then
>             assertEquals(1, i);
>             assertEquals(1, _sut.length);
> {code}
> *For code, see attachment, or HierarchicalCollectionView_FLEX_34775_Test.as in the develop
branch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message