Details

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

      Description

      When using the UI quick search and searching for part of an artifact name (which is not the start of the name) it not find it since it using wrong "searchExpression".
      for example, deploy artifact with name: multi1-2.17-20170522.064349-1-sources.jar
      and search for "2.17-20170522.064349-1", at the "searchExpression" you will see "2.17-20170522.064349-1*" when it should be "*2.17-20170522.064349-1*".

      if you will use the REAT API call Artifact Search (Quick Search) it will use the searchExpression "*2.17-20170522.064349-1*" and the query will return results.

      steps to reproduce the issue:
      1. deploy artifact with the name"multi1-2.17-20170522.064349-1-sources.jar"
      2. search for "2.17-20170522.064349-1" - no results
      3. search for "*2.17-20170522.064349-1*" - finds the artifact(s)

      when we will use the rest call for quick search it will return results, for example: http://127.0.0.1:8081/artifactory/api/search/artifact?name=2.17-20170522.064349-1

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              yehudah Yehuda Hadad
            • Votes:
              2 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated: