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

Keys of rules created from template are not renamed when template rule key is renamed

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 7.9
    • Fix Version/s: 7.9.3, 8.2
    • Component/s: Rules
    • Labels:
      None
    • Edition:
      Community
    • Production Notes:
      None

      Description

      How to reproduce

      • Use SonarJava version < 6.0
      • Create a new rule from a template rule
      • Upgrade SonarJava to version >= 6.0
      • The created rule is still using the old rule key 'squid' instead of new key 'java'

      Workaround

      Waiting for this fix, a workaround to fix this issue is to delete rules created from template and to re-create it.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              duarte.meneses Duarte Meneses
              Reporter:
              julien.lancelot Julien Lancelot
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Dates

                Due:
                Created:
                Updated:
                Resolved: