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

Don Brown updated WW-2508:
--------------------------

    Fix Version/s: 2.1.3

> Redirect Action Result with get parameters to the target action loses 
> parameters
> --------------------------------------------------------------------------------
>
>                 Key: WW-2508
>                 URL: https://issues.apache.org/struts/browse/WW-2508
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.0.4
>            Reporter: Nicolas Raynaud
>             Fix For: 2.1.3
>
>
> As stated in WW-1714, passing extra parameters for the following action 
> causes an exception since the system tries to affect them on the result 
> itself. 
> in ObjectFactory line 223, the exception is catched and swallown, but outside 
>  the parameters loop, meaning that when a parameter raises the error, the 
> following parameters in the iterator are ignored. 
> I think the swallowing should be done inside the loop (in 
> OgnlUtil.setProperties()), so that the remaining parameters are processed.
> moreover, in OgnlUtil.setProperties() the root restauration line 79 is not in 
> a finally() block while exception are expected, this might lead to furthers 
> problems.

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

Reply via email to