Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
1.3.0-beta1
-
None
-
JSR 168 portlet
Description
Request.toString() calls Request.getURL and in case of PortletRequest it throws a WicketRuntimeException when called from Page.internalOnDetach
> [RequestCycle] there was an error cleaning up target
> [BookmarkablePageRequestTarget@-1683338648
> pageClass=wicket.protocol.http.portlet.pages.
> PageExpiredPortletPage].
> wicket.WicketRuntimeException: URL is not available in portlet request
> at
> wicket.protocol.http.portlet.WicketPortletRequest.getURL
> (WicketPortle
> tRequest.java:109)
> at wicket.Request.toString(Request.java:197)
> at java.lang.String.valueOf(String.java(Inlined Compiled Code))
> at java.lang.StringBuffer.append(StringBuffer.java (Compiled Code))
> at wicket.Page.internalOnDetach(Page.java:953)
> at wicket.Component.internalDetach(Component.java:2541)
> at
> wicket.MarkupContainer.internalDetach(MarkupContainer.java:373)
> at wicket.Page.internalDetach(Page.java:292)
> at
> wicket.request.target.component.BookmarkablePageRequestTarget.detach(
> BookmarkablePageRequestTarget.java:120)
> at wicket.RequestCycle.detach( RequestCycle.java:859)
> at wicket.RequestCycle.steps(RequestCycle.java:1134)
> at wicket.RequestCycle.request(RequestCycle.java:456)
> at
> wicket.protocol.http.portlet.WicketPortlet.render(WicketPortlet.java
> :
> 251)