spring-webflow
spring-webflow copied to clipboard
Form Submission Error on Browser Back button [SWF-1742]
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:
- screenshot-1.png (17.08 kB)