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

Updating an issue related to a removed rule fails

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 9.0
    • Fix Version/s: 9.1
    • Component/s: Issues
    • Edition:
      Community
    • Production Notes:
      None

      Description

      Reproduction steps:

      • install an older version of sonar-dotnet (to have the rules to be deleted). I’ve tested with 8.25.
      • create a quality profile witch extends the default one and includes also these 8 rules which we will delete (S1145, S1697, S4142, S2758, S2070, S3693, S2278, S4432)
      • run an analysis which raises issues for these rules
      • update the dotnet plugins (csharp and vbnet) to a dev version 8.26
      • at this point I’ve checked the quality profile and it looks nice, all the deleted rules are removed from the profile
      • on the issues page, I’ve checked the ones for deleted rules and they have an indicator that the rule was removed
      • if I try to update them (e.g. assign the issue) an error message appears. See the screenshot:

        Attachments

          Activity

            People

            Assignee:
            jacek.poreda Jacek Poreda
            Reporter:
            belen.pruvost Belén Pruvost
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: