Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2675

Regression in method path resolving for scanned classes

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.13.0.Final, 4.5.6.Final
    • Fix Version/s: None
    • Component/s: jaxrs
    • Labels:
      None

      Description

      In case there are to classes that have similar path mapping prefix but one on class another on method, one of them is not resolved during the request for scanned resource classes. This is a regression of functionality, as it used to work in RESTEasy 2.x version.

      @Path("/resources")
      public static class ResourceX {
         @Path("/x")
         @GET
         public String getX() {
            return "ResourceX";
         }
      }
      
      @Path("/")
      public static class ResourceY {
         @Path("/resources/y")
         @GET
         public String getY() {
            return "ResourceY";
         }
      }
      

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                ron_sigal Ronald Sigal
                Reporter:
                zsergua Serg Zai
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: