Karl Pauls created SLING-9348:
---------------------------------

             Summary: ResourceCollector is not weighing scripts with a method 
in the name correctly.
                 Key: SLING-9348
                 URL: https://issues.apache.org/jira/browse/SLING-9348
             Project: Sling
          Issue Type: Bug
          Components: Scripting
    Affects Versions: Servlets Resolver 2.6.4
            Reporter: Karl Pauls
            Assignee: Karl Pauls
             Fix For: Servlets Resolver 2.6.6


The ResourceCollector that creates the weighted resources for script selection 
is giving equal priority to scripts that have the method in their path and 
those that don't. E.g.:

foo/html.servlet and foo/html.GET.servlet will have the same weight. 

That is wrong as the one with the GET should have preference.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to