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

Portal booking example loses conversation after validation error

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: 1.0.1
    • Fix Version/s: 1.1.0.CR2
    • Component/s: Portal
    • Labels:
      None
    • Environment:

      JBoss 4.0.4.GA
      JBoss Portal 2.4.0-Beta1
      (used jems-installer-1.2.0.BETA)
      JBoss Seam 1.0.1.GA

      Description

      Followed this steps:

      • deployed the application in examples/portal using ant, as described in examples/portal/readme.txt
      • Entered http://localhost:8080/portal
      • Selected the SeamHibernate portlet tab, registered user, logged in...
      • Searched hotels, selected one of them, and pressed the "Book" button.

      In the Book Hotel screen, if the credit card number hasn't got 16 digits, a message is shown. After that, having entered 16 digits for the credit card, instead of the confirm screen, the "Search Hotels" screen is shown, with the message "No conversation".

      So, after a failed validation, the conversation is lost.

      In my own examples I've substituted conversational scope with session scope, just to see them working.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                gavin.king Gavin King
                Reporter:
                mauro.lopez Mauro Lopez
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: