Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4241

Negative Integers not submitted when language is arabic

    XMLWordPrintableJSON

Details

    • Patch, Important

    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 nitin.cool4urchat@gmail.com for any more information required.

      Attachments

        1. NumberConverter.java
          6 kB
          Nitin Surana

        Activity

          People

            lukaszlenart Lukasz Lenart
            coding_idiot Nitin Surana
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 2h
                2h
                Remaining:
                Remaining Estimate - 2h
                2h
                Logged:
                Time Spent - Not Specified
                Not Specified