Uploaded image for project: 'Artifactory Binary Repository'
  1. Artifactory Binary Repository
  2. RTFACT-6511

Rest API list method not working on virtual with include pattern having two or more levels

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Resolution: Done
    • Affects Version/s: 3.1.1.1, 3.2.0
    • Fix Version/s: 3.5.0
    • Component/s: None
    • Labels:
      None
    • Severity:
      Medium
    • Requirement Status:

      UNCOVERED

      Description

      A Client reported the following bug:
      I found some incorrect behavior on REST API (impacting replication process!!!).
      If we call the storage method with list parameter on a virtual having an inclusion pattern with two levels (i.e. A/B/**) then only first child is returned.

      As example (I was able to reproduce issue on two instance running on both 3.1.1.1 and 3.2.0) is better than word for explanation, here is the tests cases with results:
      One virtual aggregating several repositories.

      • Test one: default inclusion pattern **/* ==> result request-default-pattern.txt. Some content is there
      • Test two: inclusion pattern to junit/** ==> only junit content is displayed as wanted
      • Test three: inclusion pattern to junit/junit/** ==> only junit is shown but first level even if requested depth was two.
      • Test four: inclusion pattern to junit/junit/3.8.1/** ==> same result as test three

      The list method seems to be used (from the log) by the pull replication process so that replication is not possible on a virtual repository with such an inclusion pattern. That can be quite a limitation.

        Attachments

          Forms

            Activity

                People

                Assignee:
                chenk Chen Keinan (Inactive)
                Reporter:
                michal Michal Reuven (Inactive)
                Votes:
                2 Vote for this issue
                Watchers:
                6 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    PagerDuty