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

Form proxy with enum property

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 8.0.0
    • Fix Version/s: 8.0.0
    • Component/s: Databind 2
    • Security Level: Jimmy
    • Labels:
    • gh.sprint.customfield.default.name:
      ZK 8.0.1

      Description

      a form bean with an enum property causes an exception when reading the enum value from the proxy object (unless the setter has been called before calling the getter)

      java.lang.RuntimeException: zk.support.bugs.FormProxyWithEnumTest$TaskState is final
      	at javassist.util.proxy.ProxyFactory.checkClassAndSuperName(ProxyFactory.java:804)
      	at javassist.util.proxy.ProxyFactory.makeSortedMethodList(ProxyFactory.java:826)
      	at javassist.util.proxy.ProxyFactory.computeSignature(ProxyFactory.java:836)
      	at javassist.util.proxy.ProxyFactory.createClass(ProxyFactory.java:398)
      	at org.zkoss.bind.proxy.ProxyHelper.createProxyIfAny(ProxyHelper.java:59)
      	at org.zkoss.bind.proxy.BeanProxyHandler.invoke(BeanProxyHandler.java:142)
      

      see attachment

        Activity

        Hide
        jumperchen jumperchen added a comment -

        Bug fixed since 5/4/2015.

        Show
        jumperchen jumperchen added a comment - Bug fixed since 5/4/2015.

          People

          • Assignee:
            jumperchen jumperchen
            Reporter:
            cor3000 cor3000
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Time Tracking

              Estimated:
              Original Estimate - Not Specified
              Not Specified
              Remaining:
              Remaining Estimate - 0 minutes
              0m
              Logged:
              Time Spent - 30 minutes
              30m

                Agile