Uploaded image for project: 'PUBLIC - Liferay Faces'
  1. PUBLIC - Liferay Faces
  2. FACES-2782

_jsfBridgeRedirect=true parameter appears in URL after redirect

    Details

      Description

      {markdown}
      Steps to reproduce:

      1. Deploy the jsf-showcase-portlet to Liferay Portal.
      2. Navigate to the `h:commandButton` Navigation use case (http://localhost:8080/web/guest/jsf-showcase/-/jsf-tag/h/commandbutton/navigation(http://localhost:8080/web/guest/jsf-showcase/-/jsf-tag/h/commandbutton/navigation)).
      3. Click the To Param page > button.

      If the bug still exists, the URL will contain `_jsfBridgeRedirect=true`:

      http://localhost:8080/web/guest/jsf-showcase/-/jsf-tag/h/commandbutton/param?_1_WAR_comliferayfacesdemojsfshowcaseportlet__jsfBridgeRedirect=true

      If the bug is fixed, it will not contain the parameter:

      http://localhost:8080/web/guest/jsf-showcase/-/jsf-tag/h/commandbutton/param

      *Note:* the parameter appears for both Ajax and non-Ajax redirects. Although in Ajax redirects the parameter is not namespaced.

      The parameter should be removed in [BridgeActionURLImpl](https://github.com/liferay/liferay-faces-bridge-impl/blob/4.x/bridge-impl/src/main/java/com/liferay/faces/bridge/internal/BridgeURLActionImpl.java#L103).
      {markdown}

        Attachments

          Activity

            People

            • Assignee:
              kyle.stiemann Kyle Stiemann (Inactive)
              Reporter:
              kyle.stiemann Kyle Stiemann (Inactive)
              Participants of an Issue:
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Packages

                Version Package
                bridge-impl-2.0.0
                bridge-impl-3.0.0
                bridge-impl-4.0.0
                bridge-impl-5.0.0