struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "David Harland (JIRA)" <>
Subject [jira] Created: (WW-2853) Struts 2.0.12 has broken Conversion Errors
Date Tue, 28 Oct 2008 10:56:37 GMT
Struts 2.0.12 has broken Conversion Errors

                 Key: WW-2853
             Project: Struts 2
          Issue Type: Bug
    Affects Versions: 2.0.12
         Environment: Windows XP - JBOSS 4.2.2
            Reporter: David Harland

Since upgrading to struts 2.0.12 from all conversion errors are being lost.

Here is a simple example showing this is broken!

Take the Struts2 blank app for 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 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.

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

View raw message