When saving a form proxy object, zk overrides the original object's property with a proxy object

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major
    • 10.2.0
    • Affects Version/s: 10.0.0
    • Component/s: None
    • Security Level: Jimmy
    • None

      Steps to Reproduce

      1. select any child
      2. click Save button

      Current Result

      the log shows myPojo.child is a proxy object

      Expected Result

      myPojo.child should be Child object, not a proxied Child object

      Debug Information

      Workaround

      public class MyPojo {
      	@Immutable
      	public ChildPojo getChild() {
      		return child;
      	}
      

        1. ChildPojo.java
          0.6 kB
          hawk
        2. MyPojo.java
          0.6 kB
          hawk
        3. zk-5889.zul
          1 kB
          hawk
        4. Zk5889ViewModel.java
          1.0 kB
          hawk

            Assignee:
            DevChu
            Reporter:
            hawk
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: