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

Missing rule parameter values on Quality profiles

    XMLWordPrintable

    Details

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

      Description

      Webapp does not show some rule parameters when set to default values. It occurs in the following scenario:

      • On SQ < 4.4:
        1. Rule R1 is installed
        2. Quality profile P1 activates this rule
        3. R1 is updated. The new version declares a parameter with a default value.
        4. R1 is deployed on SQ => P1 does not declare the new parameter, whereas it's supposed to copy default value.
      • Even if SQ is updated to 4.4+, the new parameter will remain empty because the synchronization mechanism implemented in 4.4 (that creates a parameter value when a rule has a new parameter) did not run on the previous versions

      It has side-effects on copy and comparison of profiles. Note that it does have any side-effects on analysis. Default values are correctly loaded.

        Attachments

          Activity

            People

            Assignee:
            simon.brandhof Simon Brandhof (Inactive)
            Reporter:
            simon.brandhof Simon Brandhof (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: