- 
    Type:Bug 
- 
    Resolution: Fixed
- 
    Priority:Major 
- 
    Affects Version/s: 10.0.0
- 
    Component/s: None
- 
    Security Level: Jimmy
- 
    None
- 
        None
Steps to Reproduce
- select any child
- click Save button
Current Result
the log shows myPojo.child is a proxy object:
Child=bug.ChildPojo_$$_jvst1a6_1@887cf0
Expected Result
myPojo.child should be Child object, not a proxied Child object
Debug Information
- 9.6.5 doesn't have this problem
- this bug causes app dev cannot store their JPA entities (MyPojo) because of proxy objects (Child) is not known in the persistence context
- since 10.0.0, BeanProxyHandler.java call addCache(attr, proxyIfAny) when invoking getter
 related commit https://github.com/zkoss/zk/commit/3837bbfe89ce7359773ec8ba1b992f51dec85cf1#diff-fe8fcc4b4b7f43e93bf600a1f5dcfad9db48e286d94368dcc2b0b98b3aff6c93
Workaround
public class MyPojo { @Immutable public ChildPojo getChild() { return child; }
- relates to
- 
                    ZK-5400 Client MVVM: forward="onClick=another.onOK" doesn't work -         
- Closed
 
-