struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Paul Benedict <pbened...@apache.org>
Subject Conversion errors and json
Date Thu, 13 Nov 2014 21:53:16 GMT
"jsonValidationWorkflowStack" includes "basicStack" which includes
"conversionError" interceptor...

An unintended consequence is that conversion error messages cannot be
customized because ConversionErrorInteceptor runs before
ValidationInterceptor and, thus, will automatically report the field
conversion errors.

Do we really want that for default behavior? The error message is techy and
cryptic to the end user. I don't think we should provide the
"conversionError" in the basicStack. People need to report that themselves
with validation errors.

Cheers,
Paul

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message