Beehive
  1. Beehive
  2. BEEHIVE-797

query strings not being restored when injecting nested page flows using action interceptors

    Details

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

      Description

      I have a page flow that uses an interceptor to forward to a login
      nested page flow. After the login, I am correctly redirected back to
      the orginal page flow. However, the query string on the orginal url is lost.
      When I attempt to access the query string values using:
      request.getParameter("categoryId"), I'm getting a null value.

        Activity

        Hide
        Rich Feit added a comment -

        Got it – thanks, Lisa.

        Show
        Rich Feit added a comment - Got it – thanks, Lisa.
        Hide
        Rich Feit added a comment -

        Fixed with revision 188830.

        Info for verifying this fix: There's an ActionInterceptors sample in the netui-samples app. You'd basically modify it so that you pass a query param when calling the action that gets intercepted, e.g.,
        http://localhost:8080/netui-samples/actioninterceptors/interceptme/another.do?myqueryparam=hello

        Then, after the "injected" nested page flow is done and the action brings you to nextpage.jsp, you would confirm that the page can see the request parameter "myqueryparam", using something like <%= request.getParameter("myqueryparam") %>.

        Show
        Rich Feit added a comment - Fixed with revision 188830. Info for verifying this fix: There's an ActionInterceptors sample in the netui-samples app. You'd basically modify it so that you pass a query param when calling the action that gets intercepted, e.g., http://localhost:8080/netui-samples/actioninterceptors/interceptme/another.do?myqueryparam=hello Then, after the "injected" nested page flow is done and the action brings you to nextpage.jsp, you would confirm that the page can see the request parameter "myqueryparam", using something like <%= request.getParameter("myqueryparam") %>.
        Hide
        Alejandro Ramirez added a comment -

        Please verify in V1 (trunk for now)

        Show
        Alejandro Ramirez added a comment - Please verify in V1 (trunk for now)
        Hide
        Nathan Jantz added a comment -

        This has been verified in the trunk as of svn revision 191532. Closing issue.

        Show
        Nathan Jantz added a comment - This has been verified in the trunk as of svn revision 191532. Closing issue.

          People

          • Assignee:
            Nathan Jantz
            Reporter:
            lisa Cannon-Morrett
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development