Uploaded image for project: 'XWork'
  1. XWork
  2. XW-628

Regression: Static method access off by default

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Won't Fix
    • 2.1.2
    • 2.1.2
    • Type Conversion
    • None

    Description

      XWork 2.0.4 allows calls to static method by default. The default value in 2.1.x is to disallow this:

      StaticMemberAcess.allowStaticMethodAccess is set in its constructor which is called from OgnlValueStackFactory. The default value sent in is "false" which makes calls to static methods not work. As such, code that worked fine using 2.0.4 doesn't get executed using 2.1.x without additional configuration.

      Attachments

        Activity

          People

            rainerh Rainer Hermanns
            mcalmus Mike Calmus
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: