From issues-return-8463-apmail-flex-issues-archive=flex.apache.org@flex.apache.org Tue Mar 3 16:34:04 2015 Return-Path: X-Original-To: apmail-flex-issues-archive@minotaur.apache.org Delivered-To: apmail-flex-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id CD0DB17CF0 for ; Tue, 3 Mar 2015 16:34:04 +0000 (UTC) Received: (qmail 1256 invoked by uid 500); 3 Mar 2015 16:34:04 -0000 Delivered-To: apmail-flex-issues-archive@flex.apache.org Received: (qmail 1233 invoked by uid 500); 3 Mar 2015 16:34:04 -0000 Mailing-List: contact issues-help@flex.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@flex.apache.org Delivered-To: mailing list issues@flex.apache.org Received: (qmail 1224 invoked by uid 99); 3 Mar 2015 16:34:04 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Mar 2015 16:34:04 +0000 Date: Tue, 3 Mar 2015 16:34:04 +0000 (UTC) From: "Mihai Chira (JIRA)" To: issues@flex.apache.org Message-ID: In-Reply-To: References: 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 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)