Colon cannot be used in search query

XMLWordPrintable

    • 3.07

      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?

              Assignee:
              Unassigned
              Reporter:
              Yuen-Chi Lian [Atlassian]
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: