[ 
https://issues.apache.org/jira/browse/WICKET-5875?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14491135#comment-14491135
 ] 

ASF subversion and git services commented on WICKET-5875:
---------------------------------------------------------

Commit 1d740488b30491c92ca03eaf579fcf9ce0989796 in wicket's branch 
refs/heads/master from [~bitstorm]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=1d74048 ]

Reverted change for WICKET-5875 and added docs for method
renderComponent

> ComponentRenderer.renderComponent() unexpectedly produces a 
> WicketRuntimeException when called with a nested Component which contains a 
> nested wicket:message
> -------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: WICKET-5875
>                 URL: https://issues.apache.org/jira/browse/WICKET-5875
>             Project: Wicket
>          Issue Type: Improvement
>          Components: wicket
>    Affects Versions: 7.0.0-M5, 6.19.0
>            Reporter: Jon Mann
>            Assignee: Andrea Del Bene
>            Priority: Minor
>             Fix For: 6.20.0, 7.0.0-M6
>
>         Attachments: 5875.zip
>
>
> ComponentRenderer.renderComponent() unexpectedly produces a 
> WicketRuntimeException when called with a nested Component which contains a 
> nested "wicket:message".
> The nested Component works OK in production.
> But our tests fail unexpectedly with a WicketRuntimeException when trying to 
> obtain the HTML output from the nested component.
> The WicketRuntimeException is suppressed by 
> getResourceSettings().setThrowExceptionOnMissingResource(false) but then 
> renderComponent() does not produce the expected HTML.
> See the attached test case against Wicket version 6.19:
>     SomeComponentTest.testBasic()   PASSES
>     SomeComponentTest.testRenderPageToHtml()   PASSES
>     SomeComponentTest.testRenderSomeComponentToHtml()   PASSES
>     SomeComponentTest.testRenderLinkToHtml()   FAILS unexpectedly
> Hopefully this makes sense.
> Thanks to the Wicket team for a great product.



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

Reply via email to