[Stripes-dev] [JIRA] Resolved: (STS-244) Redirect/ForwardResolution.addParameter doesn't work correctly if called repeatedly with the same parameter name

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[Stripes-dev] [JIRA] Resolved: (STS-244) Redirect/ForwardResolution.addParameter doesn't work correctly if called repeatedly with the same parameter name

JIRA jira@mc4j.org
     [ http://mc4j.org/jira/browse/STS-244?page=all ]

Tim Fennell resolved STS-244.
-----------------------------

    Resolution: Fixed

Fixed.  In addition, UrlBuilder now supports the adding of arbitrarily nested arrays/collections just in case.

> Redirect/ForwardResolution.addParameter doesn't work correctly if called repeatedly with the same parameter name
> ----------------------------------------------------------------------------------------------------------------
>
>                 Key: STS-244
>                 URL: http://mc4j.org/jira/browse/STS-244
>             Project: Stripes
>          Issue Type: Bug
>          Components: ActionBean Dispatching
>            Reporter: Tim Fennell
>         Assigned To: Tim Fennell
>            Priority: Minor
>             Fix For: Release 1.5
>
>
> You might expect the following:
>    new RedirectResolution("/foo.jsp").addParameter("bar", "one").addParameter("bar", "two");
> to produce a redirect to "/foo.jsp?bar=one&bar=two", but it's actually just overriding it to "/foo.jsp?bar=two".
> It's not as horrible as it might sound, because the workaround is just to use the var-arg method call: addParameter("bar", "one", "two"), but it would be better and convenient if ti worked for multiple calls.

--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://mc4j.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Stripes-development mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/stripes-development