myfaces-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Thomas Andraschko (JIRA)" <...@myfaces.apache.org>
Subject [jira] [Commented] (MYFACES-4189) Multi valued query parameter not considered in commandbutton action
Date Mon, 22 Jan 2018 12:52:00 GMT

    [ https://issues.apache.org/jira/browse/MYFACES-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16334219#comment-16334219
] 

Thomas Andraschko commented on MYFACES-4189:
--------------------------------------------

Or even just a unit-test!

> Multi valued query parameter not considered in commandbutton action
> -------------------------------------------------------------------
>
>                 Key: MYFACES-4189
>                 URL: https://issues.apache.org/jira/browse/MYFACES-4189
>             Project: MyFaces Core
>          Issue Type: Bug
>    Affects Versions: 2.2.12
>            Reporter: Dominik Schmidt
>            Priority: Major
>
>  *xhtml page:*
> {code:java}
> <h:commandButton action="#{user.login}"/>{code}
> *Java bean:*
> {code:java}
> private String returnUrl = 
>  "catalogsearch.jsf?fq=param1&fq=param2&faces-redirect=true&includeViewParams=true";
> public String login() {
>    return returnUrl;
> }{code}
>  
> *expected http response result:*
> {code:java}
> HTTP/1.1 302 Found
> Location: /learningportal-1.7.1.2/pages/catalogsearch.jsf?fq=param1&fq=param2{code}
> *actual http response result:*
> {code:java}
> HTTP/1.1 302 Found
> Location: /learningportal-1.7.1.2/pages/catalogsearch.jsf?fq=param2{code}
>  
> *Affected versions (myfaces):*
>  * 2.2.9
>  * 2.2.12



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message