Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Keep current partial submission instead of creating a new partial submission on session time-out #18

Open
lhalaa opened this issue Aug 23, 2019 · 0 comments

Comments

@lhalaa
Copy link
Collaborator

lhalaa commented Aug 23, 2019

During the first partial save or when the session expires, it creates a new partial submission.

  1. Every time the user hit "next" or "prev" after the session timed out, it will create a new submission
    This can be handled in a way that when the session has expired, the user will be redirected to the "intro" screen.

  2. When a new submission is created, it saves without a parent
    Without a parent creates an "AccordionItems" as parent (first DataObject found) and will later be updated with the correct parent data. To fix this, we can add a hidden field to the form which contains the UserDefinedForm ID, and pass this data when saving partial submission.

@lhalaa lhalaa changed the title On creating a new partial form submission On creating a new partial submission in savePartialSubmission Aug 23, 2019
@Firesphere Firesphere changed the title On creating a new partial submission in savePartialSubmission Keep current partial submission instead of creating a new partial submission on session time-out Aug 26, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant