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

ProxyHandler on method "set" causes error

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Normal
    • 8.6.1
    • 8.5.1, 8.6.0
    • Databind 2
    • ZK 8.6.1 S1

    Description

      Steps to Reproduce

      http://zkfiddle.org/sample/33kvmq9/1-formproxy-issue
      Also found on ViewModelProxyHandler: http://zkfiddle.org/sample/3fiqket/1-viewmodelproxy-issue

      Current Result

      java.lang.StringIndexOutOfBoundsException: String index out of range: 0

      Expected Result

      No error

      Debug Information

      A side effect of ZK-3556
      toAttrName(LinkedList#set) is failed

      It needs to be checked if it is an attribute (aka JavaBean property). Method "set" is not a valid attribute and should be ignored.

      Workaround

      Attachments

        Issue Links

          Activity

            People

              rudyhuang rudyhuang
              rudyhuang rudyhuang
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - 4 hours
                  4h
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 4 hours
                  4h