You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Rene Gielen (JIRA)" <ji...@apache.org> on 2013/09/07 14:39:51 UTC
[jira] [Updated] (WW-4193) OGNL WARN msg in log when user enters
invalid data
[ https://issues.apache.org/jira/browse/WW-4193?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Rene Gielen updated WW-4193:
----------------------------
Assignee: Rene Gielen
> OGNL WARN msg in log when user enters invalid data
> ---------------------------------------------------
>
> Key: WW-4193
> URL: https://issues.apache.org/jira/browse/WW-4193
> Project: Struts 2
> Issue Type: Bug
> Components: Expression Language, Value Stack
> Affects Versions: 2.3.15.1
> Reporter: Christoph Nenning
> Assignee: Rene Gielen
> Priority: Minor
>
> When a user enters a invalid value, the framework logs a WARN msg with stacktrace. Even when dev mode is disabled.
> For example:
> - an Action with an int as member
> - a form with a text field for that int
> - user enters a string
> The framework tries to find a setter for that member (which is successful) and tries to set the value (which fails because the setter has wrong parameter type)
> Then a stracktrace is logged as WARN.
> It is a valid use case that users enter invalid data and no stracktrace should be logged (at least not when dev mode is disabled).
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira