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

Fail to import a Quality Model having zero remediation cost

    XMLWordPrintable

    Details

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

      Description

      When importing a quality model having a remediation cost with value 0, it's failing with : Constant/issue functions must only have a non empty offset

      Technical details :
      DebtRulesXMLImporter must be updated to not return a rule that contains an offset and a coefficient having value 0.

        Attachments

          Activity

            People

            Assignee:
            julien.lancelot Julien Lancelot
            Reporter:
            julien.lancelot Julien Lancelot
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Due:
              Created:
              Updated:
              Resolved: