Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4177

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.3.10, 2.4.7, 2.5.3, 2.6
    • JAX-RS
    • None
    • Unknown

    Description

      ClientProxyImpl expects that the order of Path parameters matches the order of the template variables, example,

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

      Having the different order, example

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

      breaks the URI generation...

      Attachments

        Activity

          People

            sergey_beryozkin Sergey Beryozkin
            sergey_beryozkin Sergey Beryozkin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: