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

Provide debug information about which methods where matched/invoked by OGNL

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Won't Fix
    • 2.0.11.2, 2.1.2
    • None
    • Expression Language
    • None

    Description

      It would be helpful if developers could enable debug messages where Struts2 displays the methods that were invoked when getting or setting a property.

      eg. rather than "user.firstName", see that it invoked action.getUser() then User.getFirstName()

      This will help debugging mismatched property names (eg. isUser(), getUser, getuser()) and especially help developers understand that, for example, getUser() must be invoked prior to setFirstName().

      Attachments

        Issue Links

          Activity

            People

              lukaszlenart Lukasz Lenart
              jeromy Jeromy Evans
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: