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

Add a message to StalePageException for better debugging

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 7.2.0, 6.22.0
    • Fix Version/s: 7.3.0, 8.0.0-M1, 6.23.0
    • Component/s: wicket
    • Labels:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: