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:
- 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
- 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.