Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Won't Fix
-
2.0.11.2, 2.1.2
-
None
-
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
- relates to
-
WW-2722 struts2/ognl confuse setXXX with isXXX method names
- Closed