Allow null in LinkImpl.addParameter
-----------------------------------
Key: TAP5-922
URL: https://issues.apache.org/jira/browse/TAP5-922
Project: Tapestry 5
Issue Type: Bug
Components: tapestry-core
Affects Versions: 5.1.0.5
Reporter: Angelo Chen
Priority: Minor
I have a query string that I need to append to a Link object, the query string
is:
?gender=M&country=
Link lnk = renderLinkSource.createPageRenderLink("SamplePage");
lnk.addParameter("gender", "M"); // this works
lnk.addParameter("country", null);
above line failed with :
RequestExceptionHandler Unexpected runtime exception: Parameter value was null
or contained only whitespace.
A null parameter should be valid in a URL, sometimes it is needed to have
Google Analytics pick up the complete URL even it is null.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.