Uploaded image for project: 'Errai'
  1. Errai
  2. ERRAI-454

PropertyChangeHandlers are lost when calling setModel on a DataBinder

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.2.0.CR2
    • Component/s: None
    • Labels:
      None

      Description

      When calling setModel on a DataBinder, a new proxy for the model is created, and the old proxy's state is copied in. Thereby, the property change handlers are not copied causing the client to miss events.

        Gliffy Diagrams

          Activity

          Hide
          luca.masini Luca Masini added a comment -

          Sorry, but I can't find this issue fixed in 2.2.0.Final.

          Show
          luca.masini Luca Masini added a comment - Sorry, but I can't find this issue fixed in 2.2.0.Final.
          Hide
          csa Christian Sadilek added a comment -

          This fix made it into 2.2.0.Final. There's also a test guarding it in DataBindingIntegrationTest.testBinderRetainsPropertyChangeHandlers...

          Can you open a new JIRA with more details if you still experience problems?

          Thanks,
          Christian

          Show
          csa Christian Sadilek added a comment - This fix made it into 2.2.0.Final. There's also a test guarding it in DataBindingIntegrationTest.testBinderRetainsPropertyChangeHandlers... Can you open a new JIRA with more details if you still experience problems? Thanks, Christian

            People

            • Assignee:
              Unassigned
              Reporter:
              csa Christian Sadilek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development