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

The behavior of "previous_version" option to define a differential view depends on the content of the snapshot.version column but not of the events table

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.5
    • Component/s: Activity
    • Labels:
      None

      Description

      Here are the steps to reproduce the unexpected behavior :

      • Analyse project A with sonar.projectVersion=1.0
      • Analyse project A with sonar.projectVersion=1.0
      • Analyse project A with sonar.projectVersion=2.0
      • Analyse project A with sonar.projectVersion=2.0
      • Analyse project A with sonar.projectVersion=3.0
      • Configure this project so that period4=previous_version
      • Analyse project A with sonar.projectVersion=3.0
      • The differential view "since previous version 2.0" appears -> OK
      • Remove the version 2.0 from the History page
      • Analyse project A with sonar.projectVersion=3.0
      • The differential view "since previous version 2.0" appears whereas we expect to see "since previous version 1.0" -> KO

        Attachments

          Activity

            People

            Assignee:
            fabemn OLD - Fabrice Bellingard
            Reporter:
            freddy.mallet Freddy Mallet (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: