[ https://issues.apache.org/jira/browse/WICKET-3005?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Igor Vaynberg resolved WICKET-3005. ----------------------------------- Assignee: Igor Vaynberg Fix Version/s: 1.5-M2 Resolution: Fixed > wicket should keep the url of a page that caused a runtime error > ---------------------------------------------------------------- > > Key: WICKET-3005 > URL: https://issues.apache.org/jira/browse/WICKET-3005 > Project: Wicket > Issue Type: Bug > Components: wicket > Reporter: Peter Ertl > Assignee: Igor Vaynberg > Priority: Minor > Fix For: 1.5-M2 > > Attachments: control-redirect-on-errors.patch > > > In case wicket catches a runtime error it will redirect to an error page. In > that case an url like > http://127.0.0.1:8080//url/test?param=bad_value > will be replaced by something like > http://127.0.0.1:8080/wicket/page?1 > which is not very helpful (you won't be able to see that 'param' got a > 'bad_value' in that case). > Also the user can not try to hit reload it the error is of temporary nature. > Additionally, after the session expires and the user hits reload on the url > (and probably still hoping it get's better :-) > http://127.0.0.1:8080/wicket/page > you will give you an http error '404 - page not found' as the error page url > is not bookmarkable. > Keeping the source url and not doing a redirect would be better: > - reload in the browser will work > - expires pages will not break the URL > patch is included. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.