Uploaded image for project: 'Magnolia Form Module'
  1. Magnolia Form Module
  2. MGNLFORM-112

Session expired error when having multiple forms on the same page

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • 2.2.14, 2.3.2
    • 1.2.4
    • None
    • Firefox 7.0.1, Ubuntu, Java 6, Magnolia core 4.4.5 enterprise edition.
    • Kromeriz 11
    • 5

      When you have multiple forms on same page, when you fill in values for and submit one form, that form seems to get submitted successfully but you also get an error message saying "Session expired. You need to start over" for each of the other forms on the page.

      We believe the problem maybe to do with tokens and the fact that when you hit submit, it submits all the forms instead of just the one we click on. And because there is a single token, it probably expires once processed for first form.

      I have attached screenshots for a test-usecase with three forms on same page. When I fill values for first form and hit submit, I see the successful message once and unsuccessful error message for other two (please see the attachments).

        Acceptance criteria

          1. example forms on same page.png
            56 kB
            Rory Gibson
          2. message on submit.png
            17 kB
            Rory Gibson

              mdivilek Milan Divilek
              rgibson Rory Gibson
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0d
                  0d
                  Logged:
                  Time Spent - 1h 40m
                  1h 40m