You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flex.apache.org by "Mihai Chira (JIRA)" <ji...@apache.org> on 2013/11/27 13:03:48 UTC

[jira] [Created] (FLEX-33940) Double binding triggers when visual component is unlinked from parent

Mihai Chira created FLEX-33940:
----------------------------------

             Summary: Double binding triggers when visual component is unlinked from parent
                 Key: FLEX-33940
                 URL: https://issues.apache.org/jira/browse/FLEX-33940
             Project: Apache Flex
          Issue Type: Bug
          Components: Data Binding
    Affects Versions: Apache Flex 4.11.0
         Environment: Windows 8, AIR 3.9
            Reporter: Mihai Chira


Steps to reproduce:
1. Import, compile and run the attached project.
2. Press the button

Actual behaviour: A custom error is thrown, showing that the setter has been called.
Desired behaviour: The setter is not called, and the custom error is not thrown.


Notes:
- "this.testCheckBox = null" triggers the two-way binding and calls the setter with 'false', although the checkbox was selected before it was removed from stage.
- in our application these bindings trigger wrong values to get set in TOs, which sometimes translates into wrong values in the database. And this happens when we're clearing view references to each other and to their children, which should be independent of data linkages.



--
This message was sent by Atlassian JIRA
(v6.1#6144)