spring-webflow icon indicating copy to clipboard operation
spring-webflow copied to clipboard

Trinidad's CoreResponseStateManager can't restore the serialized view in a "redirect after post" request [SWF-1460]

Open spring-operator opened this issue 13 years ago • 1 comments

Volker Malzahn opened SWF-1460 and commented

In a "redirect after post" GET request CoreResponseStateManager._restoreSerializedView tries to restore the view but fails because the expected request parameter "javax.faces.ViewState" is missing (a NPE is thrown). I have tried to add "javax.faces.ViewState" by myself by overwriding FilenameFlowUrlHandler.createFlowExecutionUrl but then the GET request executes the use event again because org.springframework.faces.webflow.JsfView.userEventQueued() returns true (and the request was interpreted as postBack - I don't know if that makes trouble in the GET request).

What is the correct way to give Trinidad a chance to restore the view but without interpreting the GET redirect request as the original POST request?


Affects: 2.3.0

spring-operator avatar Mar 10 '11 08:03 spring-operator

Volker Malzahn commented

see #1279

spring-operator avatar Mar 10 '11 08:03 spring-operator