You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Adrian Sandor (JIRA)" <ji...@apache.org> on 2015/04/28 01:30:40 UTC

[jira] [Created] (WICKET-5895) validateHeaders fails to detect missing head/body (regression)

Adrian Sandor created WICKET-5895:
-------------------------------------

             Summary: validateHeaders fails to detect missing head/body (regression)
                 Key: WICKET-5895
                 URL: https://issues.apache.org/jira/browse/WICKET-5895
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 6.5.0
            Reporter: Adrian Sandor


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.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)