You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Sergey Beryozkin (Created) (JIRA)" <ji...@apache.org> on 2012/03/12 12:33:38 UTC

[jira] [Created] (CXF-4177) ClientProxyImpl does not order Path parameter values according to the template order

ClientProxyImpl does not order Path parameter values according to the template order
------------------------------------------------------------------------------------

                 Key: CXF-4177
                 URL: https://issues.apache.org/jira/browse/CXF-4177
             Project: CXF
          Issue Type: Bug
          Components: JAX-RS
            Reporter: Sergey Beryozkin
            Assignee: Sergey Beryozkin
             Fix For: 2.3.10, 2.4.7, 2.5.3, 2.6


ClientProxyImpl expects that the order of Path parameters matches the order of the template variables, example,
{code:java}
@Path("{a}/{b}")
@GET
public Book getBook(@PathParam("a") String a, @PathParam("b") String b);

{code}

Having the different order, example

{code:java}
@Path("{a}/{b}")
@GET
public Book getBook(@PathParam("b") String b, @PathParam("a") String a);

{code}

breaks the URI generation...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

[jira] [Resolved] (CXF-4177) ClientProxyImpl does not order Path parameter values according to the template order

Posted by "Sergey Beryozkin (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CXF-4177?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Sergey Beryozkin resolved CXF-4177.
-----------------------------------

    Resolution: Fixed
    
> ClientProxyImpl does not order Path parameter values according to the template order
> ------------------------------------------------------------------------------------
>
>                 Key: CXF-4177
>                 URL: https://issues.apache.org/jira/browse/CXF-4177
>             Project: CXF
>          Issue Type: Bug
>          Components: JAX-RS
>            Reporter: Sergey Beryozkin
>            Assignee: Sergey Beryozkin
>             Fix For: 2.3.10, 2.4.7, 2.5.3, 2.6
>
>
> ClientProxyImpl expects that the order of Path parameters matches the order of the template variables, example,
> {code:java}
> @Path("{a}/{b}")
> @GET
> public Book getBook(@PathParam("a") String a, @PathParam("b") String b);
> {code}
> Having the different order, example
> {code:java}
> @Path("{a}/{b}")
> @GET
> public Book getBook(@PathParam("b") String b, @PathParam("a") String a);
> {code}
> breaks the URI generation...

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira