You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Ted Husted (JIRA)" <ji...@apache.org> on 2007/02/12 01:40:16 UTC

[jira] Updated: (WW-1717) ParametersInterceptor - logging values that could not be applied to action properties

     [ https://issues.apache.org/struts/browse/WW-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ted Husted updated WW-1717:
---------------------------

    Fix Version/s: 2.0.x

> ParametersInterceptor - logging values that could not be applied to action properties
> -------------------------------------------------------------------------------------
>
>                 Key: WW-1717
>                 URL: https://issues.apache.org/struts/browse/WW-1717
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.0.5
>            Reporter: Dariusz Wojtas
>             Fix For: 2.0.x
>
>
> When I have some property that was kicked out by ParametersInterceptor  as invalid, then it prints error message like this:
> 19:55:00,984 ERROR - ParametersInterceptor      - ParametersInterceptor - [setParameters]: Unexpected Exception catched: Error setting expression 'myProp' with value '[Ljava.lang.String;@6d4f30'
> Can this be modified to support logging the exact values being skipped?
> Example:
> a) if the array contains single value:    Error setting expression 'myProp' with value '<value>'
> a) array of size > 1:    Error setting expression 'myProp' with value ['<1st value>', ... ]
> If this is a security reason not to print these values, then maybe it could be configurable via struts.properties, by default do not log exact values.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.