Uploaded image for project: 'Dev - Nexus Repo'
  1. Dev - Nexus Repo
  2. NEXUS-15124

Search using keyword criteria fails (Invalid Query) when "/" character is used

Details

    • Bug
    • Resolution: Duplicate
    • Major
    • None
    • 3.6.0, 3.6.1
    • Search
    • None

    Description

      When using the Keyword criteria to search for artifacts (in our case we mostly use it for Docker images) the Search fails with a warning "Invalid Query" when the search input includes a "/" (Slash) character.

       

      This is quite problematic, especially for Docker images search as they are organized (in terms of their naming) under "repositories" which are separated by a "/" (slash).

       

      For example, users may wish to find a list of "prometheus" images under "monitoring", may try the following keyword search: "monitoring/prom" and would get this error instead.

       

      An alternative would be to use the "Image Name" criteria in the Search screen, however this field doesn't accept partial input and doesn't accept wildcards, which is very inconvinient as you need to know the exact path and image name.

      I attached a screenshot of such a search, however I believe it's easily reproducible.

       

      On a more general note, it would be great if the "Image Name" search criteria would be more flexible in accepting wildcards and partial searches (I will issue a separate Improvenet ticket for this for your consideration).

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              devops Danny Kulchinsky
              Peter Lynch Peter Lynch
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                tigCommentSecurity.panel-title