Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Not A Problem
-
2.3.15.3
-
None
-
None
Description
Have a stack like:
... <interceptor-ref name="params"> <interceptor-ref name="staticParams"/> ... <interceptor-ref name="conversionError"/>
If have type conversion errors in params, they aren't seen by the conversionError interceptor.
It looks like this in StaticParametersInterceptor:
if (clearableStack && (stack.getContext() != null) && (newStack.getContext() != null)) stack.getContext().put(ActionContext.CONVERSION_ERRORS, newStack.getContext().get(ActionContext.CONVERSION_ERRORS));
ends up just overwriting the old value of ActionContext.CONVERSION_ERRORS rather than merging.