Uploaded image for project: 'Crucible'
  1. Crucible
  2. CRUC-2790

Searching does not return correct result

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Medium
    • 2.1.4
    • 2.1.2
    • None
    • None

    Description

      Steps to reproduce:
      1. Create 3 files (e.g. file1.txt, file2.txt, file3.txt)
      2. Commit all those 3 files with a commit message (e.g. test)
      3. In Crucible, perform a search for those 3 files (e.g. searched by 'test' comment)
      4. Result: Only 1 file is being displayed

      When viewing from the EyeQL, this query is displayed:

      select revisions from dir /branch where comment matches "CRC-1238" group by changeset return path, revision, author, date, csid
      

      By changing the 'matches' operator to '=~', it can show all the files which contain the 'test' commit message. For example:

      select revisions from dir /branch where comment =~ "CRC-1238" group by changeset return path, revision, author, date, csid
      

      Attachments

        Issue Links

          Activity

            People

              mquail Matt Quail (Inactive)
              cychan Chai Ying Chan [Atlassian]
              Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: