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

When searching from the UI a Docker image, the name of the repository is added with * in the end

    Details

    • Type: Bug
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: AQL, Search
    • Labels:
      None

      Description

      When searching from the UI a Docker image, the name of the repository is added with * in the end. If you have a few repositories with that starts with the same name, then the search will find in all of them instead of the one that is specified.

      Steps to reproduce:

      1. Create two repositories docker-local and docker-local-v2
      2. Deploy the same image to both of them.
      3. In the UI in the search package, specify that you want to get results only from the docker-local repository. The result will return both docker-local and docker-local-v2.

      This occurs since the AQL statement that is created for the repository has the * sign:

       {"$or":[
              {"repo":{"$match":"docker-local*"}}
            ]},
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              alexeiv Alexei Vainshtein
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: