Details
Description
Redirects in an end state of a WebFlow disallow dynamic URLs. This issue has been discussed, and validated in 1.1.1 and 1.2, here: http://n4.nabble.com/Ending-a-webflow-td1312432.html
finish {
redirect(controller: "event", action: "manage", id: flow.eventInfoCommand.id)
}
The problem here is that the "id" is persisted throughout subsequent executions. Replacing the assignment to "id" with another function or closure doesn't work either. Thus, as mentioned in the thread, the only current workaround is to place this:
<meta http-equiv="refresh" content="0;url=${createLink(controller:"event", action:"manage", id:eventInfoCommand.id)}">
inside of finish.gsp
Hi
I've got the same issue. One thing I've noticed though is that if I make a modification in the controller containing the webflow and save, after hot deploy it seems to work (not sure if it always work after a hot deploy, but at least sometimes it does).