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

Add a message to StalePageException for better debugging

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 7.2.0, 6.22.0
    • 7.3.0, 8.0.0-M1, 6.23.0
    • wicket
    • None

    Description

      At the moment StalePageException doesn't call 'super("Some message")' and also doesn't fill its stack trace (this is intentional!) and when logged it appears in the log as:

      Exception occurred:
      org.apache.wicket.core.request.mapper.StalePageException: null
      

      which is not very informative.

      It would be better to set a message that provides some information about the page, like page.toString().

      Attachments

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            mgrigorov Martin Tzvetanov Grigorov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: