Thibault Kruse created WICKET-5681:
--------------------------------------

             Summary: AbstractBookmarkableMapper sets pageParams to null, might 
be invalid
                 Key: WICKET-5681
                 URL: https://issues.apache.org/jira/browse/WICKET-5681
             Project: Wicket
          Issue Type: Bug
            Reporter: Thibault Kruse


When adding query params like ?4-1.IFormSubmitListener-xyz to a wicket page 
expecting path params, AbstractBookmarkableMapper sets all pageParams to null, 
but this leads to weird behavior for path params.

See quickstart at https://github.com/tkruse/pageparams

When opening the page with
http://localhost:8080/home/foo/bar
Then Page content says "foo bar." as required.

When opening the same page with
http://localhost:8080/home/foo/bar?4-1.IFormSubmitListener-xyz
Then Page content says "null null."

This is an unlikely scenario to happen in general I guess, but still it feels 
like a bug to me. Not sure what other query params could trigger this.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to