[
https://issues.apache.org/jira/browse/FLEX-34775?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Mihai Chira updated FLEX-34775:
-------------------------------
Description:
*Excerpt from unit test*:
{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 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.
> 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
>
>
> *Excerpt from unit test*:
> {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)