You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Juergen Donnerstag (JIRA)" <ji...@apache.org> on 2009/01/07 21:14:44 UTC

[jira] Resolved: (WICKET-1881) RequestCycle.urlFor modifies page's parameters

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

Juergen Donnerstag resolved WICKET-1881.
----------------------------------------

       Resolution: Invalid
    Fix Version/s: 1.4-RC2

obviously this has been fixed already

			if (pageParameters == null)
			{
				pageParameters = new PageParameters();
			}
			else
			{
>>>> Create the copy if not null <<<<
				pageParameters = (PageParameters)pageParameters.clone();
			}


> RequestCycle.urlFor modifies page's parameters
> ----------------------------------------------
>
>                 Key: WICKET-1881
>                 URL: https://issues.apache.org/jira/browse/WICKET-1881
>             Project: Wicket
>          Issue Type: Bug
>    Affects Versions: 1.4-M3
>            Reporter: Adrian Sandor
>            Assignee: Johan Compagner
>             Fix For: 1.4-RC2
>
>
> See http://www.nabble.com/RequestCycle.urlFor-modifies-a-page%27s-parameters--td20031013.html
> RequestCycle.urlFor(Component, RequestListenerInterface, ValueMap) can modify the parameters of an existing page, if it goes through the first half of the method (the stateless branch)
> I suggest making a copy of the page parameters (if not null).

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