ICEfaces
  1. ICEfaces
  2. ICE-2527

Seam jBPM redirects causing redirect loop.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7DR#2
    • Fix Version/s: 1.7
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      ICEfaces + Seam

      Description

      When Seam jBPM does page navigation using redirects, there's a mismatch in Pageflow.validatePageflow(Seam code)

      //now check that the restored view id matches what we expect
               //from the pageflow node
               //TODO: we need some way to disable this check, since users
               // might want some adhoc nav in and out of a pageflow?
               String viewId = Pages.getViewId(facesContext);
               if ( !viewId.equals( getPage().getViewId() ) )
               {
                  illegalNavigationError();
               }


      In my example, the viewId from the facesContext object is pageD.seam, whereas the viewId from getPage().getViewId() is pageD.xhtml. This mismatch causes illegalNavigationError to be called, which does page navigation to the current page (in my case) which causes the redirection loop.

      We need to understand why the difference in page viewID representation.

        Activity

        Greg Dick created issue -
        Ken Fyten made changes -
        Field Original Value New Value
        Fix Version/s 1.7 [ 10080 ]
        Ken Fyten made changes -
        Assignee Priority P2
        Assignee Greg Dick [ greg.dick ]
        Greg Dick made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Ken Fyten made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Assignee Priority P2
        Assignee Greg Dick [ greg.dick ]

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: