[ 
https://issues.apache.org/jira/browse/WICKET-4594?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13421547#comment-13421547
 ] 

Wolfgang Kritzinger edited comment on WICKET-4594 at 7/24/12 5:10 PM:
----------------------------------------------------------------------

Added WICKET-4594_bug.zip

Example quickstart for my problem.

On a page with a stateless form this change causes an error. The test succeeds 
because MockPageManager does not store pages in the same way as RequestAdapter 
does (it only stores pages that are really stateful after being rendered, in 
commitRequest())

Open the quickstart and try submitting the form, the PageParameters will be 
gone even though they are in the URL submitted.
                
      was (Author: wk):
    Example quickstart for my problem.

On a page with a stateless form this change causes an error. The test succeeds 
because MockPageManager does not store pages in the same way as RequestAdapter 
does (it only stores pages that are really stateful after being rendered, in 
commitRequest())

Open the quickstart and try submitting the form, the PageParameters will be 
gone even though they are in the URL submitted.
                  
> Do not use the parsed PageParameters when re-creating an expired page
> ---------------------------------------------------------------------
>
>                 Key: WICKET-4594
>                 URL: https://issues.apache.org/jira/browse/WICKET-4594
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.7
>            Reporter: Martin Grigorov
>            Assignee: Martin Grigorov
>             Fix For: 6.0.0-beta3, 1.5.8
>
>         Attachments: WICKET-4594.patch.diff, WICKET-4594_bug.zip, 
> example.tar.gz
>
>
> WICKET-4014 and WICKET-4290 provided functionality to re-create an expired 
> page if there is a mount path in the current request's url.
> There is a minor problem with that because the page parameters are passed to 
> the freshly created page. I.e. parameters for a callback behavior are now set 
> as page construction parameters.
> Since the execution of the behavior is ignored for the recreated page these 
> parameters should be ignored too.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to