Uploaded image for project: 'SonarLint For IntelliJ'
  1. SonarLint For IntelliJ
  2. SLI-180

Incorrect module name used when downloading server issues

    Details

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

      Description

      In a multi-module Maven project with sub-modules named mod1..mod1200 (see https://github.com/janos-ss/mods1200), when downloading server issues, the web API requests use an incorrect module name for some of the modules, as can be observed in the access.log of SonarQube.

      • For 1-digit names (mod1..mod9), the module name is correct
      • For 2-digit names (mod10..mod99), the last digit is dropped, for example mod2 is used for a file opened in mod23
      • For 3-digit names, the module name seems correct
      • For 4-digit names starting with mod100, the last digit is dropped, for example mod100 is used for a file opened in mod1007. Other 4-digit seems seem to work fine.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                duarte.meneses Duarte Meneses
                Reporter:
                janos.gyerik Janos Gyerik
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Due:
                  Created:
                  Updated:
                  Resolved: