[ http://issues.apache.org/jira/browse/BEEHIVE-1024?page=all ]
Rich Feit resolved BEEHIVE-1024:
--------------------------------
Resolution: Fixed
Assign To: Alejandro Ramirez (was: Rich Feit)
Fixed with revision 356056. I've added an automated test for this (J1024).
Alex, if you'd like to play around to see if there are any other similar issues
with the back button and nesting, that would be nice. :)
> Naughty behavior when using the back button with nested page flows
> ------------------------------------------------------------------
>
> Key: BEEHIVE-1024
> URL: http://issues.apache.org/jira/browse/BEEHIVE-1024
> Project: Beehive
> Type: Bug
> Versions: V1
> Reporter: Rich Feit
> Assignee: Alejandro Ramirez
> Fix For: 1.1
> Attachments: back.zip
>
> Repro:
> - Build and deploy the attached app ('back').
> - Hit http://localhost:8080/back/a/Controller.jpf .
> - Click the 'goB' link.
> - Click 'done' on the next page.
> - Click the 'goC' link.
> - Use the back button to get back to the previous page (the one with
> 'goB' and 'goC').
> - Refresh that page in the browser.
> Expected: The page refreshes.
> Actual: Get the following exception:
> org.apache.beehive.netui.pageflow.ActionNotFoundException: Unable to find
> matching action bDone (form=null) in page flow /c/Controller.jpf.
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processUnresolvedAction(PageFlowRequestProcessor.java:1451)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processMapping(PageFlowRequestProcessor.java:1369)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:191)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:542)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:826)
> at
> org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:633)
> at
> org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:156)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
> at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:237)
> at
> org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
> at
> org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:704)
> at
> org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:474)
> at
> org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:409)
> at
> org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:312)
> at
> org.apache.beehive.netui.pageflow.internal.DefaultForwardRedirectHandler.forward(DefaultForwardRedirectHandler.java:127)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.doForward(PageFlowRequestProcessor.java:1795)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processForwardConfig(PageFlowRequestProcessor.java:1668)
> at
> org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:229)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.processInternal(PageFlowRequestProcessor.java:542)
> at
> org.apache.beehive.netui.pageflow.PageFlowRequestProcessor.process(PageFlowRequestProcessor.java:826)
> at
> org.apache.beehive.netui.pageflow.AutoRegisterActionServlet.process(AutoRegisterActionServlet.java:633)
> at
> org.apache.beehive.netui.pageflow.PageFlowActionServlet.process(PageFlowActionServlet.java:156)
> at
> org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:414)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
> at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira