Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-4975

nested form proxies update original object (without submit to origin)

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Normal Normal
    • None
    • 9.5.1.3, 9.6.0
    • Databind 2
    • Security Level: Jimmy

      Steps to Reproduce

      run the attached test case
      it's an isolated test case just testing the basic form proxy behavior without additional MVVM complexity

      it creates 3 level nested form proxies, the changes committed in the inner most level update the original object, even if the middle level is never submitted

      Current Result

      the change to the street is submitted to the origin object even though the form proxy around the person is never submitted.

      Expected Result

      the original object remains unchanged (the changes to the personProxy are never committed)

      Debug Information

      the change to the person name are ignored while the changes to the address are submitted through 2 layers of nested forms, form addressProxy down to userProxy (somehow skipping the personProxy)

      Workaround


            DevChu DevChu
            cor3000 cor3000
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: