Uploaded image for project: 'Apache Flex'
  1. Apache Flex
  2. FLEX-20957

Two-way data binding wipes clean first selected record in the model. Works fine then onwards. It's as though, blank fields in the view overwrites model before model has an opportunity to populate the view.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • Adobe Flex SDK Previous
    • Adobe Flex SDK Previous
    • Data Binding
    • None
    • Affected OS(s): Windows
      Affected OS(s): Windows XP
      Browser: Firefox 3.x
      Language Found: English

    Description

      Steps to reproduce:
      1. I've put up this sample application at: http://208.109.28.58:9080/OCNIssue/OCNIssue.html (view source enabled)
      2. Sample application description: The application reads a simple XML data file (in the real app, it's a Spring-BlazeDS service) and renders the information. It allows user to add more data / update existing data. I'm using two-way binding for adding / updating data.
      3. Hit the URL mentioned above
      4. Click on the place holder image for any of the 3 data elements
      5. Click on Update button

      Actual Results:
      You'll notice that the form is blank. The data, where two-way binding was used, corresponding to the selected raw has gone blank. The file is (VideoAddUpdateCore.mxml)

      Expected Results:
      The form should display the data in the model

      Workaround (if any):
      If you replace the two-way binding with Flex 3 type one-way binding in this component, it'll start behaving as expected! Replacing @ with a reverse binding using fx:Binding leads to the same issue described above.

      Attachments

        Issue Links

          Activity

            People

              adobejira Adobe JIRA
              adobejira Adobe JIRA
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: