Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7261

Caches are invalidated when using AbstractSlingClient#doGet(String requestPath, int... expectedStatus)

    XMLWordPrintableJSON

Details

    Description

      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?)

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              andrei.tuicu Andrei Tuicu
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: