Skip to content

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

Description

@spring-operator

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions