[
https://issues.apache.org/jira/browse/WICKET-4396?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13203483#comment-13203483
]
Martin Grigorov commented on WICKET-4396:
-----------------------------------------
Unit tests added to show that it was possible in 1.5:
org.apache.wicket.resource.filtering.FilteringHeaderResponseTest#filter()
and now it fails in 6.0:
org.apache.wicket.markup.head.filter.FilteringHeaderResponseTest#filter()
(Ignored until fixed)
> Impossible to group header contributions in the <head>
> ------------------------------------------------------
>
> Key: WICKET-4396
> URL: https://issues.apache.org/jira/browse/WICKET-4396
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 6.0.0
> Reporter: Martin Grigorov
> Assignee: Emond Papegaaij
>
> There is a regression in Wicket 6.0 that doesn't allow to have a
> HeaderResponseContainer in the <head> section.
> It fails because its
> org.apache.wicket.markup.head.filter.HeaderResponseContainer#onComponentTagBody()
> is called too early - before the IHeaderResponse is closed.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira