Mihai Chira created FLEX-35321:
----------------------------------
Summary: LayoutManager initializes components which are no longer
on stage
Key: FLEX-35321
URL: https://issues.apache.org/jira/browse/FLEX-35321
Project: Apache Flex
Issue Type: Bug
Components: Layout - General
Affects Versions: Apache Flex 4.16.0
Reporter: Mihai Chira
Assignee: Mihai Chira
Fix For: Apache Flex 4.17.0
*Scenario A*: during an object's validation cycle some code resulting from
{{validateSize()}}, {{validateProperties()}} or {{validateDisplayList()}}
results in the object's removal from stage. {{LayoutManager}} does not detect
this and ends up setting the object's {{initialized}} flag to {{true}}.
*Scenario B*: a user performs an action whose effect is the removal of a
component, exactly when that component was being validated in phases
({{LayoutManager.usePhasedInstantiation == true}}, which is to say, in the span
of two-three frames.
For the unit test that models this scenario, see {{LayoutManagerTests}}.
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)