Andrei Tuicu created SLING-7261:
-----------------------------------

             Summary: Caches are invalidated when using 
AbstractSlingClient#doGet(String requestPath, int... expectedStatus)
                 Key: SLING-7261
                 URL: https://issues.apache.org/jira/browse/SLING-7261
             Project: Sling
          Issue Type: Bug
          Components: Apache Sling Testing Clients
    Affects Versions: Apache Sling Testing Clients 1.1.4
            Reporter: Andrei Tuicu


h3. Problem
Caches are invalidated when using AbstractSlingClient#doGet(String requestPath, 
int... expectedStatus). This happens because the 
AbstractSlingClient#getUrl(String path, List<NameValuePair> parameters) adds an 
empty parameters array to the url, even when the parameters argument is null. 
This results in urls that have ? at the end for all GET requests 
(http(s)://host:port/requestpath?)



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to