You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Thibault Kruse (JIRA)" <ji...@apache.org> on 2014/08/21 18:27:11 UTC
[jira] [Created] (WICKET-5681) AbstractBookmarkableMapper sets
pageParams to null, might be invalid
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)