Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Duplicate
-
None
-
None
-
None
-
None
Description
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.
Attachments
Issue Links
- duplicates
-
WICKET-5539 Allow preserving of the parsed PageParameters when re-creating an expired page
- Resolved