History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: XW-524
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: tm_jee
Reporter: tm_jee
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
XWork

ParameterInterceptor log parameter value twice for the first parameter when there's more than one parameter of the same name.

Created: 30/May/07 10:02 PM   Updated: 12/Jun/08 07:09 AM
Component/s: None
Affects Version/s: 1.2.2, 2.1, 2.1.1
Fix Version/s: 1.2.3, 2.1.2


 Description  « Hide
ParameterInterceptor log parameter value twice for the first parameter when there's more than one parameter of the same name.

Such that if we have url like
http://host:port/context?name=John&name=Bill&age=stillYoung

the following gets logged
[DEBUG] - ParametersInterceptor.before(103) | Setting params name => [ JohnJohn, Bill ] age => [ stillYoung ]

It should just be
[DEBUG] - ParametersInterceptor.before(103) | Setting params name => [ John, Bill ] age => [ stillYoung ]



 All   Comments   Change History      Sort Order:
tm_jee - [17/Jul/07 09:17 AM ]
not only the first parameter its every parameter except the last
eg.
the following gets logged
[DEBUG] - ParametersInterceptor.before(103) | Setting params name => [ JohnJohn, JackJack, Bill ] age => [ stillYoung ]

It should just be
[DEBUG] - ParametersInterceptor.before(103) | Setting params name => [ John, Jack, Bill ] age => [ stillYoung ]