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

validateHeaders fails to detect missing head/body (regression)

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 6.5.0
    • 6.20.0, 7.0.0-M6
    • wicket
    • None

    Description

      I have a page that adds a panel which has a markup header contribution (wicket:head). The page has no head or body tag. In wicket 1.4, this logs a conspicuous error message, but in wicket 6 it ignores it silently.
      I see that validateHeaders still tries to render the header and check if there was anything added, but the problem is that the header does not get rendered into the response object it's checking.

      Attachments

        1. bug5895.zip
          4 kB
          Adrian Sándor

        Activity

          People

            mgrigorov Martin Tzvetanov Grigorov
            aditsu Adrian Sándor
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: