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

StatelessChecker: add helpful information to find stateful behavior (patch included)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.4.0
    • 6.5.0
    • wicket-devutils
    • None

    Description

      When the stateless check fails, one has to search for the offending (stateful) behavior manually, which can be tedious in complex components (containing multiple behaviors, maybe even spread across classes through inheritance)

      Attached patch adds to the exception message the class name(s) of stateful Behaviors(s), if any.

      Note: I did not test the code, since my project is not running on the wicket sources. Should be working fine, though.

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            pparson Peter Parson
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: