You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "yasuda takatsugu (JIRA)" <ji...@apache.org> on 2009/01/19 22:00:46 UTC
[jira] Updated: (WW-2953) ParametersInterceptor is not show
validate message. use 2byte charactors.
[ https://issues.apache.org/struts/browse/WW-2953?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
yasuda takatsugu updated WW-2953:
---------------------------------
Component/s: Core Interceptors
> 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
> Components: Core Interceptors
> 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.