[
https://issues.apache.org/jira/browse/SLING-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Robert Munteanu resolved SLING-7261.
------------------------------------
Resolution: Fixed
Assignee: Robert Munteanu
Fix Version/s: Apache Sling Testing Clients 1.1.6
> 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
> Assignee: Robert Munteanu
> Fix For: Apache Sling Testing Clients 1.1.6
>
>
> 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)