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

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

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


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.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes reassigned WW-1717:
--------------------------------

    Assignee: James Holmes

> 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
>            Assignee: James Holmes
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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.


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

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ 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.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41467 ] 

James Holmes edited comment on WW-1717 at 7/16/07 3:39 PM:
-----------------------------------------------------------

This relates to the issue described in WW-1926 that Don Brown already resolved.


 was:
This is the same issue as WW-1926 that Don Brown already resolved.

> 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
>            Assignee: James Holmes
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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.


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

Posted by "Ted Husted (JIRA)" <ji...@apache.org>.
     [ 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:     (was: 2.0.7)
                   2.1.0

> 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
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41474 ] 

James Holmes edited comment on WW-1717 at 7/17/07 10:10 AM:
------------------------------------------------------------

This was resolved in XWork ticket XW-542 which will be part of the 2.1 release of XWork.

http://jira.opensymphony.com/browse/XW-542


 was:
This was resolved in Xwork ticket XW-542 which will be part of 2.1 release of XWork.

http://jira.opensymphony.com/browse/XW-542

> 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
>            Assignee: James Holmes
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/struts/browse/WW-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_41467 ] 

James Holmes edited comment on WW-1717 at 7/16/07 3:26 PM:
-----------------------------------------------------------

This is the same issue as WW-1926 that Don Brown already resolved.


 was:
This is the same issue as 1926 that Don Brown already resolved.

> 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
>            Assignee: James Holmes
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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.


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

Posted by "James Holmes (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/struts/browse/WW-1717?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

James Holmes resolved WW-1717.
------------------------------

    Resolution: Fixed

This was resolved in Xwork ticket XW-542 which will be part of 2.1 release of XWork.

http://jira.opensymphony.com/browse/XW-542

> 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
>            Assignee: James Holmes
>            Priority: Minor
>             Fix For: 2.1.0
>
>
> 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.