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

Looking for updates in the update center, the proposed version is not the latest one

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.6.6
    • Fix Version/s: 6.7
    • Component/s: Marketplace, Web
    • Labels:

      Description

      When SonarC# 5.0 is installed whereas versions 5.10 and 5.10.1 are available, the update center proposes to update to version 5.9.
      The problem doesn't happen when the installed version is already 5.9. And, in any case, when proceeding to the update, the version that is finally installed is the latest one.

      First analysis:
      The WS api/plugins/updates doesn't sort sub-versions with 2 digits (>X.10) in the ascending order and it seems the UI takes the last (compatible) entry of the list.
      Ex: in the answer from the WS, for SonarC#

      "version": "5.1",
      "version": "5.10",
      "version": "5.10.1",
      "version": "5.2",
      ...
      "version": "5.9",

      Related: the versions are also displayed as such in the changelog.
      See screenshot

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                gregoire.aubert Gregoire Aubert
                Reporter:
                christophe.levis Christophe Levis
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: