[ https://issues.apache.org/struts/browse/WW-2723?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=44412#action_44412 ]
Musachy Barroso commented on WW-2723: ------------------------------------- I think this is fixed in 2.1, if the action has a setAge of type int, and I submit age=aaaaa, this is logged: java.lang.NumberFormatException: For input string: "aaa" ...... ognl.MethodFailedException: Method "setAge" failed for object [EMAIL PROTECTED] [java.lang.NoSuchMethodException: setName([Ljava.lang.String;)] It was probably part of the fix for logging errors when values are not found on the stack (I think Matt did that one) > Provide debug information about which methods where matched/invoked by OGNL > --------------------------------------------------------------------------- > > Key: WW-2723 > URL: https://issues.apache.org/struts/browse/WW-2723 > Project: Struts 2 > Issue Type: Improvement > Components: Expression Language > Affects Versions: 2.0.11.2, 2.1.2 > Reporter: Jeromy Evans > Priority: Minor > Fix For: Future > > > 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(). -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.