Uploaded image for project: 'Jira Server and Data Center'
  1. Jira Server and Data Center
  2. JRASERVER-12230

Colon cannot be used in search query

    XMLWordPrintable

Details

    Description

      The bug fix introduced in JRA-5394 causes colon ":" being replaced in a search query. See these lines in the source code:

          public MultipleFieldSingleValueLuceneParameter(Collection fields, String query)
          {
              // ...
              if (TextUtils.stringSet(query))
              {
                  // Added for JRA-5394. Not a "real" fix for it though i suppose. Works reasonably well
                  addValue(query.replace(':', ' '));
              }
          }
      

      Will this be fixed/improved?

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              yuenchi.lian Yuen-Chi Lian [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: