Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-26957

Metadata tag names containing underscores or dots break metadata searching

      Metadata tag names either from the global metadata configuration or the local one that contain underscores or dots are not searchable. Since metadata are frequently in hierarchies that can be depicted as a series of sub-tags, it would be useful to support these characters in the tag name.

          [JENKINS-26957] Metadata tag names containing underscores or dots break metadata searching

          Metadata configuration and search results are shown in the screenshots demonstrating that searches fail when metadata tag names contain dots or underscores.

          Ioannis Moutsatsos added a comment - Metadata configuration and search results are shown in the screenshots demonstrating that searches fail when metadata tag names contain dots or underscores.

          Using spaces in the query doesn't break searching, but returns no results.

          For instance, any metadata string value element, with value equals "Sao Paulo" cannot be retrieved because of the space between Sao and Paulo. Looking at the Antlr tree, the query is parsed to something like

                =
             /      \
            /        \
          LOCATION   Sao
          

          Bruno P. Kinoshita added a comment - Using spaces in the query doesn't break searching, but returns no results. For instance, any metadata string value element, with value equals "Sao Paulo" cannot be retrieved because of the space between Sao and Paulo. Looking at the Antlr tree, the query is parsed to something like = / \ / \ LOCATION Sao

          Metadata values containing underscores are not found in metadata search.

          name = my_name returns no results.

          Jose Maria Cubel added a comment - Metadata values containing underscores are not found in metadata search. name = my_name returns no results.

            rsandell rsandell
            ioannis Ioannis Moutsatsos
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: