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] [Resolved] (MYFACES-4189) Multi valued query parameter not considered in commandbutton action
Date Mon, 29 Oct 2018 13:55:00 GMT

     [ https://issues.apache.org/jira/browse/MYFACES-4189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Thomas Andraschko resolved MYFACES-4189.
----------------------------------------
    Resolution: Fixed

> 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: Minor
>             Fix For: 2.2.13, 2.3.3, 3.0.0-SNAPSHOT
>
>
>  *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