Uploaded image for project: 'Seam 2'
  1. Seam 2
  2. JBSEAM-1641

redirect do proper page in pageflow as out of order request comes in

    Details

    • Type: Feature Request
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: 2.0.0.CR1
    • Component/s: BPM
    • Labels:
      None

      Description

      I'll describe scenario.

      Pages used in page flow "p1, p2, p3, pfinal".

      Transitions:
      p1 to p2
      p2 to p3
      p3 to pfinal

      eg. p1 -> p2 -> p3 -> pfinal

      p1 starts conversation, pfinal ends conversation

      p2,p3,pfinal requires conversation.

      Now let's consider out of order requests.

      I enter page p1, conversation is started.
      Next I point the browser manually to page p3 with cid included.
      Page p3 is displayed with "garbage" - no logic in p2 was executed.
      Buttons on page redirect to p1 of course.

      Feature request: redirect the request to page p3 to go to proper page (p1 in this case).
      This applies only when conversation is in progress as other requests are handled by no-conversation-view-id.

      Seam has org.jboss.seam.core.pageflow in conversation scope with "page" and "node" properties set to "p1" but it seems that it is checked only on POST requests.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gavin.king Gavin King
                Reporter:
                lklm Michael Kozak
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: