[
https://issues.apache.org/jira/browse/SLING-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16263932#comment-16263932
]
ASF GitHub Bot commented on SLING-7261:
---------------------------------------
rombert commented on issue #1: SLING-7261 - Caches are invalidated when using
AbstractSlingClient#doGet(String requestPath, int... expectedStatus)
URL:
https://github.com/apache/sling-org-apache-sling-testing-clients/pull/1#issuecomment-346550109
Thanks for the contribution
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> 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)