struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Johno Crawford (JIRA)" <>
Subject [jira] [Commented] (WW-4241) Negative Integers not submitted when language is arabic
Date Tue, 25 Feb 2014 22:45:19 GMT


Johno Crawford commented on WW-4241:

Close as won't fix? The answer in stackoverflow sums it up nicely. "Actually it is very simple:
Arabic is right to left script. So your -1 is actually 1- (and a String) you need to input
1- to post negative integers."

> Negative Integers not submitted when language is arabic
> -------------------------------------------------------
>                 Key: WW-4241
>                 URL:
>             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
>             Fix For: 2.3.17
>         Attachments:
>   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
> I have also posted the question in very detail here :
> The SSCCE to demonstrate this bug is available here
> 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 for any more information required.

This message was sent by Atlassian JIRA

View raw message