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

Form Submission Error on Browser Back button [SWF-1742] #917

Open
spring-operator opened this issue Apr 7, 2020 · 0 comments
Open

Form Submission Error on Browser Back button [SWF-1742] #917

spring-operator opened this issue Apr 7, 2020 · 0 comments
Labels
in: core status: waiting-for-triage We need additional information before we can continue

Comments

@spring-operator
Copy link
Contributor

Amit Gupta opened SWF-1742 and commented

I have a spring web flow application, that's contains an end state(booking confirmed) to completed the web flow.

There are few hyperlinks available in the end state (booking confirmation page). When an user clicks a hyperlink and move out of web flow, he will redirect to different page (out of web flow). Later, He clicks browser's back-button to go back to web flow entry point. unfortunately, browser is throwing "Confirm Form Re-submission Error" error.

i believe spring web-flow is implemented using Post-redirect-Get pattern for rendering. I wonder how i got this error. so any insight/advice/alternatives/ridicule is much appreciated.

<view-state id="enterBookingDetails">

    <transition on="submit" to="reviewBooking" />

</view-state>
<view-state id="reviewBooking">

    <transition on="confirm" to="bookingConfirmed" />

    <transition on="revise" to="enterBookingDetails" />

</view-state>
<end-state id="bookingConfirmed" />

 

 


Affects: 2.3.0

Attachments:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: core status: waiting-for-triage We need additional information before we can continue
Projects
None yet
Development

No branches or pull requests

1 participant