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

Nitin Surana updated WW-4241:
-----------------------------

    Description: 
Negative integers are giving OGNL error setting expression when submitted 
through form post or query string ONLY when the language is arabic. For all 
other languages the form works fine & no OGNL errors. The negative integer 
value is perfectly received at the action side.

I have also posted the question in very detail here :
http://stackoverflow.com/questions/19875848/query-string-urls-behave-incorrectly-after-the-language-is-changed

The SSCCE to demonstrate this bug is available here 
https://dl.dropboxusercontent.com/u/109241721/Struts2Example.zip

username is an integer, it accepts both positive & negative integers when not 
using arabic language, but as soon as language is changed to arabic, it doesn't 
accept negative integers and start throwing OGNL exceptions for error setting 
expression.

You guys can reach me at [email protected] for any more information 
required.

  was:
It's a long-story, most of which can be founded at 
http://stackoverflow.com/questions/19875848/query-string-urls-behave-incorrectly-after-the-language-is-changed

The SSCCE to demonstrate this bug is available here 
https://dl.dropboxusercontent.com/u/109241721/Struts2Example.zip

username is an integer, it accepts both positive & negative integers when not 
using arabic language, but as soon as language is changed to arabic, it doesn't 
accept negative integers.

You guys can reach me at [email protected] for any more information 
required.


> Negative Integers not submitted when language is arabic
> -------------------------------------------------------
>
>                 Key: WW-4241
>                 URL: https://issues.apache.org/jira/browse/WW-4241
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Actions, Core Interceptors
>    Affects Versions: 2.3.15
>         Environment: windows 7 64-bit, tomcat 7.0.41 & jdk 1.7 using netbeans 
> 7.4/7.3 (tried both)
>            Reporter: Nitin Surana
>            Priority: Blocker
>              Labels: arabic, internationalization
>   Original Estimate: 2h
>  Remaining Estimate: 2h
>
> Negative integers are giving OGNL error setting expression when submitted 
> through form post or query string ONLY when the language is arabic. For all 
> other languages the form works fine & no OGNL errors. The negative integer 
> value is perfectly received at the action side.
> I have also posted the question in very detail here :
> http://stackoverflow.com/questions/19875848/query-string-urls-behave-incorrectly-after-the-language-is-changed
> The SSCCE to demonstrate this bug is available here 
> https://dl.dropboxusercontent.com/u/109241721/Struts2Example.zip
> username is an integer, it accepts both positive & negative integers when not 
> using arabic language, but as soon as language is changed to arabic, it 
> doesn't accept negative integers and start throwing OGNL exceptions for error 
> setting expression.
> You guys can reach me at [email protected] for any more information 
> required.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to