Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-1802

Propertyresolver could be more informative

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4-M3
    • Fix Version/s: 1.4.16, 1.5-RC2
    • Component/s: wicket
    • Labels:
      None

      Description

      WicketMessage: no set method defined for value: true on object: ...
      at org.apache.wicket.util.lang.PropertyResolver$MethodGetAndSet.setValue(PropertyResolver.java:1107)

      In case there is a getter method defined, it would significantly help debugging to display the get method name in the exception.

      I suggest fixing the problem with:

      • " on object: " + object);
        + " on object: " + object + " while respective getMethod being " + getMethod.getName());

        Attachments

          Activity

            People

            • Assignee:
              jcompagner Johan Compagner
              Reporter:
              mmakundi Martin Terra
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified