struts-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Lukasz Lenart <lukaszlen...@apache.org>
Subject Re: Conversion errors and json
Date Tue, 25 Nov 2014 15:25:38 GMT
2014-11-13 22:53 GMT+01:00 Paul Benedict <pbenedict@apache.org>:
> "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.

Maybe it should be only a "devMode" tool - reports errors when devMode = true


Regards
-- 
Ɓukasz
+ 48 606 323 122 http://www.lenart.org.pl/

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org


Mime
View raw message