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

Sonar still considers that Java plugins are installed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.4.1
    • Fix Version/s: 3.6
    • Component/s: Quality Profile
    • Labels:
      None

      Description

      Now that Java plugins are packaged in an independent Ecosystem, it should be possible to have a Sonar instance without the Java language plugins installed. However, when doing so, some bugs affect (at least) the QP ("Quality Profiles") page:

      1. Install a fresh Sonar without the Java plugins (remove them from "downloads" before starting) and go on the QP page
        • => the "Java Profiles" section should not appear
      2. Install a fresh Sonar and start it, add the Javascript plugin with the Update Center and remove all the Java plugins, restart Sonar
        • => the "Java Profiles" section is still there and the Java profiles are displayed where they shouldn't
        • => if you want to create a new JS profile (click on "Create"), you can't: you get a server error ("unsatisfied dependency" because there's no ProfileImporter class: the ProfilesConsole class should take this possibility into account and offer a constructor without this class)

      All those points should be fixed.

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            fabemn OLD - Fabrice Bellingard
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: