Beehive
  1. Beehive
  2. BEEHIVE-1024

Naughty behavior when using the back button with nested page flows

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: 1.0.1
    • Component/s: None
    • Labels:
      None

      Description

      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)

      1. back.zip
        16 kB
        Rich Feit

        Activity

          People

          • Assignee:
            Alejandro Ramirez
            Reporter:
            Rich Feit
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development