-
Type:
Bug
-
Status: Done
-
Resolution: Duplicate
-
Affects Version/s: 6.10.0
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Severity:Medium
Steps to reproduce:
1. Use this KB to make Artifactory run without the `/artifactory` context (ROOT)
2. Start another Artifactory instance and create a Smart Remote Repository pointing to one of the local repos in the first instance
3. Make sure to tick the "Report Statistics" checkbox
4. Download something from the "remote" repo, and then from the "cache", in order to trigger the "report statistics" mechanism
The bug:
The request is reaching Artifactory like this (note the generic-local repo name before the `/api`:
20190507161237|28|REQUEST|RESTRICTED_IP|admin|PUT|/generic-local/api/storage/statistics/generic-local|HTTP/1.1|201|208
Therefore, it actually creates a file under this path: /generic-local/api/storage/statistics/generic-local
Instead, it should look like this:
20190507161237|28|REQUEST|RESTRICTED_IP|admin|PUT|/api/storage/statistics/generic-local|HTTP/1.1|201|208
- duplicates
-
RTFACT-19247 Smart remote capabilities are broken when target Artifactory is running as ROOT (no /artifactory context )
- Done