ParametersInterceptor is not show validate message. use 2byte charactors.
-------------------------------------------------------------------------

                 Key: WW-2953
                 URL: https://issues.apache.org/struts/browse/WW-2953
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.12
         Environment: struts-2.0.14 + xwork-2.0.7
 and
struts2-core-2.0.12 + xwork-2.0.6
            Reporter: yasuda takatsugu


I am Japanese. 
poor English sorry. 


case.) 
 input 2byte charactors in textfield.
 this value is converted to integer.

problem is in xwork-2.0.6.

1. if input 2byte charactors in textfield( = integer),  xwork-2.0.5 and 
xwork-2.0.6 are throw XWorkConverter#handleConversionException.
and conversionErrors.put.

2. but, xwork-2.0.6 is add error message in another instance.

3. I think,  ParametersInterceptor line.230 (xworks-2.0.6) 。

        ValueStack newStack = 
ValueStackFactory.getFactory().createValueStack(stack);
        if (newStack instanceof ClearableValueStack) {
            //if the stack's context can be cleared, do that to prevent OGNL
            //from having access to objects in the stack, see XW-641

   WEB: http://jira.opensymphony.com/browse/XW-641 



-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to