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

When closed issues are purged, they are still visible in the Issues page

    XMLWordPrintable

    Details

      Description

      To reproduce :

      • Analyze a project that generate some issues
      • Analyze again the project but without generating any issue => All issues become closed
      • Update the property "sonar.dbcleaner.daysBeforeDeletingClosedIssues" to 0
      • Analyze again the project => All issues are removed from database but not from the Elasticsearch index.

      As a consequence, In the "Issues" page, the number of closed issues of the project will be greater than 0, but clicking on the link won't display any issue (because issues are loading from databse).

      NB : the purge of issues in the index is working when "sonar.dbcleaner.daysBeforeDeletingClosedIssues" is not set to 0.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              julien.lancelot Julien Lancelot
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: