[
https://issues.apache.org/jira/browse/WICKET-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12464592
]
Johan Compagner commented on WICKET-84:
---------------------------------------
But is detach now really not called anymore twice?
How are we doing that? (didn't look at the code very closely)
Or are we saying, don't care that it is called twice?
> detach is called twice
> ----------------------
>
> Key: WICKET-84
> URL: https://issues.apache.org/jira/browse/WICKET-84
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.3, 2.0
> Reporter: Martijn Dashorst
>
> When debugging current 1.3, I saw that the detach of a page is called twice:
> Thread [SocketListener0-9] (Suspended (breakpoint at line 106 in
> AbstractBasePage))
> LeerlingZoekenPage(AbstractBasePage).internalDetach() line: 106
> FilePageStore.storePage(String, Page) line: 152
> SecondLevelCacheSessionStore$1.storePage(String, Page) line: 208
> SecondLevelCacheSessionStore$SecondLevelCachePageMap.put(Page) line: 77
> IridiumSession(Session).touch(Page) line: 817
> LeerlingZoekenPage(Page).renderPage() line: 426
> RedirectPageRequestTarget(PageRequestTarget).respond(RequestCycle)
> line: 67
> DefaultResponseStrategy.respond(RequestCycle) line: 4
> DefaultWebRequestCycleProcessor(AbstractCompoundRequestCycleProcessor).respond(RequestCycle)
> line: 66
> IridiumRequestCycle(RequestCycle).doProcessEventsAndRespond(IRequestCycleProcessor)
> line: 920 IridiumRequestCycle(RequestCycle).processEventsAndRespond()
> line: 947 IridiumRequestCycle(RequestCycle).step() line: 1028
> IridiumRequestCycle(RequestCycle).steps() line: 1102
> IridiumRequestCycle(RequestCycle).request() line: 456
> WicketServlet.doGet(HttpServletRequest, HttpServletResponse) line: 216
> WicketServlet(HttpServlet).service(HttpServletRequest, HttpServletResponse)
> line: 596 WicketServlet(HttpServlet).service(ServletRequest,
> ServletResponse) line: 689 ServletHolder.handle(ServletRequest,
> ServletResponse) line: 428
> and:
> Thread [SocketListener0-9] (Suspended (breakpoint at line 106 in
> AbstractBasePage))
> LeerlingZoekenPage(AbstractBasePage).internalDetach() line: 106
> RedirectPageRequestTarget(PageRequestTarget).detach(RequestCycle) line:
> 84
> IridiumRequestCycle(RequestCycle).detach() line: 825
> IridiumRequestCycle(RequestCycle).steps() line: 1120
> IridiumRequestCycle(RequestCycle).request() line: 456
> WicketServlet.doGet(HttpServletRequest, HttpServletResponse) line: 216
> WicketServlet(HttpServlet).service(HttpServletRequest,
> HttpServletResponse) line: 596
> WicketServlet(HttpServlet).service(ServletRequest, ServletResponse)
> line: 689
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira