-
Notifications
You must be signed in to change notification settings - Fork 73
Closed
Labels
Description
Sonar version: 7.9.1
Checkstyle sonar plugin version: 4.33
Steps to reproduce or description of problem:
- Attempt to import a configuration like google_checks.xml (I made some modification to the 8.33 version so that SonarQube could import it).
- SonarQube imports the template, but no rules that are based on templates are imported (c.f. import should work with rule templates #2), which is to be expected
- Go to add the
AnnotationLocationMostCases
andAnnotationLocationVariables
rules to the SonarQube profile and see that theAnnotationLocationCheck
rule in SonarQube is not a rule template as expected, but just a regular rule. - Thus, both
AnnotationLocationMostCases
andAnnotationLocationVariables
cannot be added to the profile, only one.
Correct me if I'm wrong (because I'm not very familiar with this system) but that would be because AnnotatonLocation
is not set to <cardinality>MULTIPLE</cardinality>
? So is this issue a special case of #147, similarly to #145? Would the fix be as simple as #146?