Errai
  1. Errai
  2. ERRAI-454

PropertyChangeHandlers are lost when calling setModel on a DataBinder

    Details

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

      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 added a comment -

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

          Show
          Luca Masini added a comment - Sorry, but I can't find this issue fixed in 2.2.0.Final.
          Hide
          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
          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:
              Christian Sadilek
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development