[ 
https://issues.apache.org/struts/browse/WW-2853?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rene Gielen updated WW-2853:
----------------------------

    Affects Version/s: 2.0.13
             Assignee: Musachy Barroso

Just to provide some more information:
This is an XWork issue introduced with the security fixed ParametersInterceptor 
in XWork 2.0.6. The fix is already in XWork svn, we are currently waiting for 
XWork 2.0.7 to be released. Right after that, a fresh Struts build will follow.

> Struts 2.0.12 has broken Conversion Errors
> ------------------------------------------
>
>                 Key: WW-2853
>                 URL: https://issues.apache.org/struts/browse/WW-2853
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.12, 2.0.13
>         Environment: Windows XP - JBOSS 4.2.2
>            Reporter: David Harland
>            Assignee: Musachy Barroso
>             Fix For: 2.0.14
>
>
> Since upgrading to struts 2.0.12 from 2.0.11.1 all conversion errors are 
> being lost.
> Here is a simple example showing this is broken!
> Take the Struts2 blank app for 2.0.11.1. Now add a simple Action with an 
> Integer property testNumber. Now add a jsp with a field testNumber. Now put 
> fred in testNumber and submit.
> You get 'Invalid field value for field "testNumber".'
> Now replace the lib files from the 2.0.11.1 struts2 blank with the 2.0.12.
> The Conversion errors now do not get displayed. They are lost!
> It appears to be the ParametersInterceptor is taking a copy of the 
> ValueStack, the conversion errors are being set on the new stack and 
> therefore lost.
>  
> Regards
>  
> David.

-- 
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