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

OGNL not working with camel case and reverting to 3.0.6 isn't working

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Not A Problem
    • 2.3.32
    • 2.3.28
    • Core Actions
    • None

    Description

      After upgrading to Struts 2.3.32, actions with request parameters in camel case such as xAxis and yAxis broke. Reverting to ognl-3.0.6.jar was recommended in bug WW-4616 but it doesn't work because it throws this error:

      SEVERE: Exception starting filter struts2
      java.lang.NoSuchMethodError: ognl.SimpleNode.isSequence(Lognl/OgnlContext;)
      		at com.opensymphony.xwork2.ognl.OgnlUtil.isEvalExpression(OgnlUtil.java:310)
      

      We still have lots of struts 1 code so we can't upgrade to struts 2.5. I also tried using the ognl-3.1.12.jar from struts 2.5 but the camel case error is still there.

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              jadel jade Lindquist
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: