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

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

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.3.10, 2.4.7, 2.5.3, 2.6
    • Component/s: JAX-RS
    • Labels:
      None
    • Estimated Complexity:
      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

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

              Dates

              • Created:
                Updated:
                Resolved: