You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Andrei Tuicu (JIRA)" <ji...@apache.org> on 2017/11/23 05:53:00 UTC
[jira] [Commented] (SLING-7261) Caches are invalidated when using
AbstractSlingClient#doGet(String requestPath, int... expectedStatus)
[ https://issues.apache.org/jira/browse/SLING-7261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16263845#comment-16263845 ]
Andrei Tuicu commented on SLING-7261:
-------------------------------------
It seems that I can't assign myself to this. :) Nevertheless, I'll be submitting a PR.
> 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)