[MGNLFORM-112] Session expired error when having multiple forms on the same page Created: 17/Nov/11  Updated: 15/Apr/16  Resolved: 22/Sep/15

Status: Closed
Project: Magnolia Form Module
Component/s: None
Affects Version/s: 1.2.4
Fix Version/s: 2.2.14, 2.3.2

Type: Bug Priority: Major
Reporter: Rory Gibson Assignee: Milan Divilek
Resolution: Fixed Votes: 0
Labels: next, support, verify
Remaining Estimate: 0d
Time Spent: 1h 40m
Original Estimate: Not Specified
Environment:

Firefox 7.0.1, Ubuntu, Java 6, Magnolia core 4.4.5 enterprise edition.


Attachments: PNG File example forms on same page.png     PNG File message on submit.png    
Issue Links:
Relates
duplicate
is duplicated by MGNLPUR-151 Error with serveral forms in the same... Closed
Template:
Acceptance criteria:
Empty
Task DoD:
[ ]* Doc/release notes changes? Comment present?
[ ]* Downstream builds green?
[ ]* Solution information and context easily available?
[ ]* Tests
[ ]* FixVersion filled and not yet released
[ ]  Architecture Decision Record (ADR)
Bug DoR:
[ ]* Steps to reproduce, expected, and actual results filled
[ ]* Affected version filled
Date of First Response:
Sprint: Kromeriz 11
Story Points: 5

 Description   

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).



 Comments   
Comment by Rory Gibson [ 17/Nov/11 ]

Note, I've also tried excluding the page from caching, this seems to be a separate issue though.

Comment by Christopher Zimmermann [ 05/Dec/13 ]

Magnolia should support multiple forms per page.

Generated at Mon Feb 12 05:36:59 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.