agocorona / MFlow

(Haskell) Web application server with stateful, type safe user interactions and widget combinators
http://mflowdemo.herokuapp.com
Other
100 stars 12 forks source link

issue with getRestParam after state recovery #22

Closed agocorona closed 10 years ago

agocorona commented 10 years ago

when the server process times out after using getRestParam (for example in a page of the wiki in the examples) , when the page is called again, getRestParam read the previous segment of the REST path. As a result the wiki pages that have URL: "/noscript/wiki/thepage" present ever the "wiki" page instead of "thepage".

agocorona commented 10 years ago

solved. Now after a recovery, ask forces a full backtrack to track the first URL from the beginning, not from the execution state that the recovery from the log leaved the process in.