Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AbstractValidatingInterceptor.handleResponseValidationErrors's JavaDoc is wrong [SWS-216] #368

Closed
gregturn opened this issue Oct 25, 2007 · 1 comment
Assignees
Milestone

Comments

@gregturn
Copy link
Contributor

Joris Kuipers opened SWS-216 and commented

AbstractValidatingInterceptor.handleResponseValidationErrors's JavaDoc states the following:
/**

  • Template method that is called when the response message contains validation errors. Default implementation logs
  • all errors, and returns <code>false</code>, i.e. do not send the response.
  • @param messageContext the message context
  • @param errors the validation errors @return <code>true</code> to continue sending the response,
  <code>false</code> (the default) otherwise

*/

However, returning false here doesn't mean that the response won't be send. It means that the rest of the Interceptor chain won't be processed and that the response will be send out immediately (see MessageDispatcher.triggerHandleResponse). The docs should be changed to represent the actual behaviour.


Affects: 1.0.1

Referenced from: commits e43e302

@gregturn
Copy link
Contributor Author

gregturn commented Nov 8, 2007

Arjen Poutsma commented

Closing 1.0.2 issues.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants