[ https://issues.apache.org/jira/browse/WICKET-2997?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Ertl updated WICKET-2997: ------------------------------- Attachment: set-error-message.patch > AbstractResource should give access to the error message for http errors > ------------------------------------------------------------------------ > > Key: WICKET-2997 > URL: https://issues.apache.org/jira/browse/WICKET-2997 > Project: Wicket > Issue Type: Improvement > Reporter: Peter Ertl > Attachments: set-error-message.patch > > > AbstractResource lets you set the errorCode if something goes wrong but not a > custom error message. This is really annoying because the user/developer does > not get any hint why something goes wrong. > current: > response.sendError(data.getErrorCode(), null); > // <------ always null, no custom error message > I attached a simple patch to fix this. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.