Uploaded image for project: 'SonarQube'
  1. SonarQube
  2. SONAR-4563

Use strict comparison for createdAfter in the Issues search engine

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.6
    • Fix Version/s: 3.7
    • Component/s: Issues
    • Labels:
      None

      Description

      In the IssueMapper.xml, line #291, the comparison for "createdAfter" should be strict like for "createdBefore".

      i.issue_creation_date > #{query.createdAfter}
      

      Indeed, in the issues drilldown, new issues of the previous snapshots are currently displayed in the list of issues because "issue.issue_created_at" equals to "previous_snapshot.created_at" given by the period #1.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              simon.brandhof Simon Brandhof (Inactive)
              Reporter:
              fabemn OLD - Fabrice Bellingard
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: